Zarr.NET  0.6.1
Zarr reader and writer in .NET
Loading...
Searching...
No Matches
ZarrNET.IZarrCodec Interface Reference

A single step in a Zarr v3 codec pipeline. Codecs are applied in order during encoding (array → bytes → compressed) and reversed during decoding. Each codec is responsible for one transformation only. More...

Inheritance diagram for ZarrNET.IZarrCodec:
ZarrNET.BloscCodec ZarrNET.BytesCodec ZarrNET.Crc32cCodec ZarrNET.GzipCodec ZarrNET.ZstdCodec

Public Member Functions

Task< byte[]> DecodeAsync (byte[] input, CancellationToken ct=default)
 Decodes bytes produced by the previous codec step.
 
Task< byte[]> EncodeAsync (byte[] input, CancellationToken ct=default)
 Encodes bytes for the next codec step.
 

Properties

string Name [get]
 Codec name as it appears in zarr.json (e.g. "gzip", "zstd", "bytes").
 

Detailed Description

A single step in a Zarr v3 codec pipeline. Codecs are applied in order during encoding (array → bytes → compressed) and reversed during decoding. Each codec is responsible for one transformation only.

Member Function Documentation

◆ DecodeAsync()

Task< byte[]> ZarrNET.IZarrCodec.DecodeAsync ( byte[] input,
CancellationToken ct = default )

Decodes bytes produced by the previous codec step.

Implemented in ZarrNET.BloscCodec, ZarrNET.BytesCodec, ZarrNET.Crc32cCodec, ZarrNET.GzipCodec, and ZarrNET.ZstdCodec.

◆ EncodeAsync()

Task< byte[]> ZarrNET.IZarrCodec.EncodeAsync ( byte[] input,
CancellationToken ct = default )

Encodes bytes for the next codec step.

Implemented in ZarrNET.BloscCodec, ZarrNET.BytesCodec, ZarrNET.Crc32cCodec, ZarrNET.GzipCodec, and ZarrNET.ZstdCodec.

Property Documentation

◆ Name

string ZarrNET.IZarrCodec.Name
get

Codec name as it appears in zarr.json (e.g. "gzip", "zstd", "bytes").

Implemented in ZarrNET.BloscCodec, ZarrNET.BytesCodec, ZarrNET.Crc32cCodec, ZarrNET.GzipCodec, and ZarrNET.ZstdCodec.

11{ get; }

The documentation for this interface was generated from the following file: