|
Zarr.NET
0.6.1
Zarr reader and writer in .NET
|
Zstandard bytes-to-bytes codec. Uses ZstdSharp (managed wrapper around the native zstd library, available as a NuGet package). NuGet: ZstdSharp.Port (pure managed port, no native deps) More...
Public Member Functions | |||
| ZstdCodec (int level=3) | |||
| |||
| 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. | |||
Public Member Functions inherited from ZarrNET.IZarrCodec | |||
Properties | |
| string | Name [get] |
| Codec name as it appears in zarr.json (e.g. "gzip", "zstd", "bytes"). | |
Properties inherited from ZarrNET.IZarrCodec | |
Zstandard bytes-to-bytes codec. Uses ZstdSharp (managed wrapper around the native zstd library, available as a NuGet package). NuGet: ZstdSharp.Port (pure managed port, no native deps)
| ZarrNET.ZstdCodec.ZstdCodec | ( | int | level = 3 | ) |
| level | Compression level 0–22. Default 3 matches zstd's default. |
| Task< byte[]> ZarrNET.ZstdCodec.DecodeAsync | ( | byte[] | input, |
| CancellationToken | ct = default ) |
Decodes bytes produced by the previous codec step.
Implements ZarrNET.IZarrCodec.
| Task< byte[]> ZarrNET.ZstdCodec.EncodeAsync | ( | byte[] | input, |
| CancellationToken | ct = default ) |
Encodes bytes for the next codec step.
Implements ZarrNET.IZarrCodec.
|
get |
Codec name as it appears in zarr.json (e.g. "gzip", "zstd", "bytes").
Implements ZarrNET.IZarrCodec.