v0.7.6
v0.7.6 2024-08-06
Added
-
Full support for reading VLEN datasets (numeric variable-length datasets), fixing #78
- previously the library made no attempt to read the stored values and returned the raw bytes (corresponding to intermediate
[length, data_pointer]
pairs) - now returns an
Array
ofTypedArray
objects containing the stored values (or anArray
ofArray
objects ifjson_value
is requested) vlen_type?: Metadata
key added toMetadata
interface, and populated with type information about the base type in a VLEN dataset
- previously the library made no attempt to read the stored values and returned the raw bytes (corresponding to intermediate
Changed
-
Retrieve
value
of boolean dataset asInt8Array
instead of plain JS boolean array. To retrieve a plain JS boolean array, usejson_value
instead:// v0.7.5 and earlier bool_dset.value; // -> [false, true] bool_dset.json_value; // -> [false, true] // v0.7.6 onwards bool_dset.value; // -> Int8Array(2) [0, 1] bool_dset.json_value; // -> [false, true]