package
4.1.3+incompatible
Repository: https://github.com/els0r/goprobe.git
Documentation: pkg.go.dev

# Functions

New creates a new ZStandard Encoder that can be used to compress/decompress data.
WithCompressionLevel allows the level to be set to something other than the default (6).

# Constants

MaxCompressionLevel denotes the maximum useful compression level.

# Variables

ErrBufferSizeMismatch denotes that the allocated buffer is insufficient in size.
ErrContextCreationFailed denotes that instantiation of a ZSTD (de)compression context failed.
ErrIncorrectNumBytesRead denotes that the number of bytes read during decompression does not match the expected size.

# Structs

Encoder compresses data with the ZStandard algorithm (omitting certain bounds-checks for performance reasons).

# Type aliases

Option sets additional parameters on the Encoder.