The Zarr "gzip" codec compresses a raw vector prior to storing, and uncompresses the raw vector when reading.
zarr::zarr_extension -> zarr::zarr_codec -> zarr_codec_gzip
levelThe compression level of the gzip codec, an integer value between 0L (no compression) and 9 (maximum compression).
Inherited methods
new()Create a new "gzip" codec object.
zarr_codec_gzip$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 0 (no compression) to 9 (maximum compression).
An instance of this class.
copy()Create a new, independent copy of this codec.
zarr_codec_gzip$copy()An instance of zarr_codec_gzip.
encode()This method encodes a data object.
zarr_codec_gzip$encode(data)dataThe data to be encoded.
The encoded data object.
decode()This method decodes a data object.
zarr_codec_gzip$decode(data)dataThe data to be decoded.
The decoded data object.