compressor

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MIT Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewRawCompressor

func NewRawCompressor() *raw_compressor

func NewSnappyCompressor

func NewSnappyCompressor() *snappy_compressor

Types

type CompressType

type CompressType uint16
const (
	Raw CompressType = iota
	Snappy
)

type Compressor

type Compressor interface {
	Zip([]byte) ([]byte, error)
	Unzip([]byte) ([]byte, error)
}

Jump to

Keyboard shortcuts

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