This class provides the codec for "zstd" compression.
zarr::zarr_extension -> zarr::zarr_codec -> zarr_codec_zstd
levelThe compression level of the zstd codec, an integer value between 1L (fast) and 20 (maximum compression).
Inherited methods
new()Create a new "zstd" codec object.
zarr_codec_zstd$new(configuration = NULL)configurationOptional. 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).
An instance of this class.
copy()Create a new, independent copy of this codec.
zarr_codec_zstd$copy()An instance of zarr_codec_zstd.
encode()This method encodes a raw data object.
zarr_codec_zstd$encode(data)dataThe raw data to be encoded.
The encoded raw data object.
decode()This method decodes a raw data object.
zarr_codec_zstd$decode(data)dataThe raw data to be decoded.
The decoded raw data object.