compress

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	None = iota
	Lz4
)

Variables

View Source
var Algorithms map[string]int = map[string]int{
	"lz4":  Lz4,
	"none": None,
}

Functions

func Compress

func Compress(src, dst []byte, typ int) ([]byte, error)

func Decompress

func Decompress(src, dst []byte, typ int) ([]byte, error)

Types

type T

type T uint8

func (T) String

func (t T) String() string

Jump to

Keyboard shortcuts

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