This class provides the codec for "zstd" compression.
Active bindings
level
The compression level of the zstd codec, an integer value
between 1L (fast) and 20 (maximum compression).
Methods
Inherited methods
Method new()
Create a new "zstd" codec object.
Arguments
configuration
Optional. A list with the configuration parameters
for this codec. The element level specifies the compression level of
this codec, ranging from 1 (no compression) to 20 (maximum compression).
Returns
An instance of this class.
Method copy()
Create a new, independent copy of this codec.
Returns
An instance of zarr_codec_zstd.
Method encode()
This method encodes a raw data object.
Usage
zarr_codec_zstd$encode(data)
Arguments
data
The raw data to be encoded.
Returns
The encoded raw data object.
Method decode()
This method decodes a raw data object.
Usage
zarr_codec_zstd$decode(data)
Arguments
data
The raw data to be decoded.
Returns
The decoded raw data object.