Versions in this module Expand all Collapse all v0 v0.2.0 May 1, 2026 Changes in this version + var ErrZstdBinaryMissing = &zstdErr + var ErrZstdEncodeFailure = &zstdErr + func Available(ctx context.Context) (ok bool, reason string) + func AvailableDetail(ctx context.Context) (ok bool, detail string) + func Decode(ctx context.Context, ref, patch []byte) ([]byte, error) + func DecodeFull(data []byte) ([]byte, error) + func Encode(ctx context.Context, ref, target []byte, opts EncodeOpts) ([]byte, error) + func EncodeFull(target []byte, opts EncodeOpts) ([]byte, error) + type EncodeOpts struct + Level int + WindowLog int