Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAlgorithmName ¶
GetAlgorithmName returns the string name for an algorithm.
func IsAlgorithmSupported ¶
IsAlgorithmSupported reports whether an algorithm is supported.
Types ¶
type Algorithm ¶
type Algorithm uint32
Algorithm represents the compression algorithm type.
func GetSupportedAlgorithms ¶
func GetSupportedAlgorithms() []Algorithm
GetSupportedAlgorithms returns all supported algorithms.
type ErrorCode ¶
type ErrorCode int
ErrorCode matches C++ compression error codes.
func CompressWithRawLevel ¶
CompressWithRawLevel compresses input data using algorithm-specific raw level.
type MappedLevel ¶
MappedLevel holds algorithm-specific parameters.
func MapCompressionLevel ¶
func MapCompressionLevel(alg Algorithm, level Level) MappedLevel
MapCompressionLevel maps unified compression level to algorithm-specific settings.
Click to show internal directories.
Click to hide internal directories.