libzarr
Header-only C++17 Zarr v2/v3, WASM-compatible
Loading...
Searching...
No Matches
Functions
zarr::codec Namespace Reference

Functions

CodecSpec gzip (int level=5)
 gzip (RFC 1952) at level (0-9).
 
CodecSpec zlib (int level=5)
 zlib (RFC 1950) at level (0-9). Zarr v2 only.
 
CodecSpec blosc (const std::string &cname="lz4", int clevel=5, const std::string &shuffle="shuffle")
 blosc (v3-style named shuffle: "noshuffle", "shuffle" or "bitshuffle").
 
CodecSpec zstd (int level=0, bool checksum=false)
 zstd. Level 0 means zstd's default; checksum appends a frame checksum.
 
CodecSpec crc32c ()
 crc32c (Castagnoli) trailing checksum. v3 only.
 
CodecSpec shuffle (int elementsize=0)
 shuffle: byte-transposition filter. elementsize 0 means the dtype size.
 

Detailed Description

Factories for the bytes->bytes codecs users place in ArraySpec::codecs. (The structural bytes and transpose stages are managed by the library and are not specified here.)