Skip to main content

check_hdf5_string

Function check_hdf5_string 

Source
pub fn check_hdf5_string(kind: &str, value: &str) -> Result<()>
Expand description

Check that value can be stored in an HDF5 string dataset.

Link names and string payloads share the C-string constraint: an embedded NUL cannot be encoded. Call this before creating the destination file, alongside check_link_name.

§Errors

Returns NirError::InvalidGraph when value contains a NUL byte.