Datatype.varString

Datatype varString() static

Creates a variable-length string datatype.

This creates a variable-length string type suitable for storing D strings and other dynamically-sized character sequences.

Note

Variable-length strings require special memory management

when reading (HDF5-allocated memory must be reclaimed).

Returns

A new Datatype instance for variable-length strings.

Throws

HDF5Exception if datatype creation fails.