Datatype.fixedString
Datatype fixedString(size_t length) staticCreates a fixed-length string datatype.
This creates a null-padded fixed-length string type suitable for storing C-style character arrays (char[N]).
Parameters
length | Number of characters (bytes) in the string. |
Returns
A new Datatype instance for fixed-length strings.
Throws
HDF5Exception if datatype creation fails.