Abstract class representing a compressor.
Details
Abstract compressor for Zarr
Methods
Method encode()
Compress data.
Usage
Codec$encode(buf, zarr_arr)
Arguments
buf
The un-compressed data.
zarr_arr
The ZarrArray instance.
Method decode()
Decompress data.
Usage
Codec$decode(buf, zarr_arr)
Arguments
buf
The compressed data.
zarr_arr
The ZarrArray instance.
Returns
Un-compressed data.
Method get_config()
Get Configuration
Method clone()
The objects of this class are cloneable with this method.
Usage
Codec$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.