compress

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: BSD-2-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compressor

type Compressor interface {
	Compress(src, dst, dict []byte) (int, error)
}

type CompressorFactory

type CompressorFactory struct {
	// contains filtered or unexported fields
}

func NewCompressorFactory

func NewCompressorFactory(level LevelT, independent bool, dict *DictT) CompressorFactory

func (CompressorFactory) NewCompressor

func (f CompressorFactory) NewCompressor() Compressor

type Decompressor

type Decompressor interface {
	Decompress(src, dst []byte) (int, error)
}

func NewDecompressor

func NewDecompressor(independent bool, dict *DictT) Decompressor

type DictT

type DictT struct {
	// contains filtered or unexported fields
}

func NewDictT

func NewDictT(data []byte, linked bool) *DictT

func (*DictT) Data

func (r *DictT) Data() []byte

func (*DictT) NeedsUpdate

func (r *DictT) NeedsUpdate() bool

func (*DictT) Update

func (r *DictT) Update(dstPtr []byte)

type LevelT

type LevelT int

Jump to

Keyboard shortcuts

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