compression

package
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for darwin/amd64

Overview

Package compression provides an idiomatic Go wrapper over the raw Compression C-library bindings: opaque handles become typed wrappers with methods, the C symbol prefix is stripped, and OSStatus/kern_return_t results become Go errors.

Index

Constants

View Source
const (
	COMPRESSION_BROTLI          = raw.COMPRESSION_BROTLI
	COMPRESSION_LZ4             = raw.COMPRESSION_LZ4
	COMPRESSION_LZ4_RAW         = raw.COMPRESSION_LZ4_RAW
	COMPRESSION_LZBITMAP        = raw.COMPRESSION_LZBITMAP
	COMPRESSION_LZFSE           = raw.COMPRESSION_LZFSE
	COMPRESSION_LZMA            = raw.COMPRESSION_LZMA
	COMPRESSION_STATUS_END      = raw.COMPRESSION_STATUS_END
	COMPRESSION_STATUS_ERROR    = raw.COMPRESSION_STATUS_ERROR
	COMPRESSION_STATUS_OK       = raw.COMPRESSION_STATUS_OK
	COMPRESSION_STREAM_DECODE   = raw.COMPRESSION_STREAM_DECODE
	COMPRESSION_STREAM_ENCODE   = raw.COMPRESSION_STREAM_ENCODE
	COMPRESSION_STREAM_FINALIZE = raw.COMPRESSION_STREAM_FINALIZE
	COMPRESSION_ZLIB            = raw.COMPRESSION_ZLIB
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Compression_algorithm

type Compression_algorithm = raw.Compression_algorithm

type Compression_status

type Compression_status = raw.Compression_status

type Compression_stream

type Compression_stream = raw.Compression_stream

type Compression_stream_flags

type Compression_stream_flags = raw.Compression_stream_flags

type Compression_stream_operation

type Compression_stream_operation = raw.Compression_stream_operation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL