Skip to contents

Class representing a VLenUtf8 compressor

Details

Variable-length UTF-8 codec for Zarr

Super class

pizzarr::Codec -> VLenUtf8Codec

Methods


Method encode()

Compress data.

Usage

VLenUtf8Codec$encode(vec_of_strings, zarr_arr)

Arguments

vec_of_strings

The un-compressed data.

zarr_arr

The ZarrArray instance.

Returns

Compressed data.


Method decode()

Decompress data.

Usage

VLenUtf8Codec$decode(buf, zarr_arr)

Arguments

buf

The compressed data.

zarr_arr

The ZarrArray instance.

Returns

Un-compressed data.


Method get_config()

Get Configuration

Usage

VLenUtf8Codec$get_config()


Method clone()

The objects of this class are cloneable with this method.

Usage

VLenUtf8Codec$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.