pub fn read_version(path: impl AsRef<Path>) -> Result<String>
Read only the /version string from a .nir file.
/version
.nir
NirError::MissingField when the file has no /version dataset; otherwise as read.
NirError::MissingField
read