This class implements a Zarr data type as an extension point. This class also manages the "fill_value" attribute associated with the data type.
Super class
zarr::zarr_extension -> zarr_data_type
Active bindings
data_typeThe data type for the Zarr array, a single character string. Setting the data type will also set the fill value to its default value.
Rtype(read-only) The R data type corresponding to the Zarr data type.
signed(read-only) Flag that indicates if the Zarr data type is signed or not.
size(read-only) The size of the data type, in bytes.
fill_valueThe fill value for the Zarr array, a single value that agrees with the range of the
data_type.
Methods
Method new()
Create a new data type object.
Usage
zarr_data_type$new(data_type, fill_value = NULL)