compress

package
v0.0.0-...-eecacf2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressSimple

func CompressSimple(data []byte, alloc *byteslabs.Allocator) []byte

func CompressSimpleStatus

func CompressSimpleStatus() string

func MakeFlate

func MakeFlate() *compressionflate

func MakeSnappy

func MakeSnappy() *compressionsnappy

func MakeStat

func MakeStat(name string) *stat

Types

type Compressor

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

func CreateCompressor

func CreateCompressor(threads int, c cpr) *Compressor

func (*Compressor) Compress

func (this *Compressor) Compress(in []byte, out []byte) []byte

func (*Compressor) GetID

func (this *Compressor) GetID() string

func (*Compressor) GetStatus

func (this *Compressor) GetStatus() string

func (*Compressor) Uncompress

func (this *Compressor) Uncompress(in []byte) []byte

Directories

Path Synopsis
Package snappy implements the Snappy compression format.
Package snappy implements the Snappy compression format.

Jump to

Keyboard shortcuts

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