Skip to main content

encode_object_header

Function encode_object_header 

Source
pub fn encode_object_header(header: &Hdf5ObjectHeader) -> Vec<u8> 
Expand description

Simulate encoding an object header into a byte vector.

Real HDF5 uses a complex binary format; here we produce a human-readable ASCII summary padded to a fixed size for unit-testing purposes.