Class representing a VLenUtf8 compressor
Details
Variable-length UTF-8 codec for Zarr
Methods
Method encode()
Compress data.
Usage
VLenUtf8Codec$encode(buf, zarr_arr)
Arguments
buf
(character())
The un-compressed data (character vector).
zarr_arr
(ZarrArray)
The ZarrArray instance.
Method decode()
Decompress data.
Usage
VLenUtf8Codec$decode(buf, zarr_arr)
Arguments
buf
(raw())
The compressed data.
zarr_arr
(ZarrArray)
The ZarrArray instance.
Returns
Un-compressed data.
Method get_config()
Get codec configuration as a list.
Usage
VLenUtf8Codec$get_config()
Method clone()
The objects of this class are cloneable with this method.
Usage
VLenUtf8Codec$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.