Documentation Center

  • Trial Software
  • Product Updates

H5T.vlen_create

Create new variable-length data type

Syntax

vlen_type_id = H5T.vlen_create(base_id)

Description

vlen_type_id = H5T.vlen_create(base_id) creates a new variable-length (VL) data type. base_id specifies the base type of the data type to create.

Examples

Create a variable length data type for 64-bit floating-point numbers.

base_type_id = H5T.copy('H5T_NATIVE_DOUBLE');
vlen_type_id = H5T.vlen_create(base_type_id);

See Also

Was this topic helpful?