Class representing a LZ4 compressor
Details
LZ4 compressor for Zarr
Public fields
acceleration
The compression level.
Methods
Method new()
Create a new LZ4 compressor.
Arguments
acceleration
The compression level.
Returns
A new Lz4Codec
object.
Method encode()
Compress data.
Usage
Lz4Codec$encode(buf, zarr_arr)
Arguments
buf
The un-compressed data.
zarr_arr
The ZarrArray instance.
Method decode()
Decompress data.
Usage
Lz4Codec$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
Lz4Codec$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.