compression

package
v0.0.0-...-a4a601d Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(data []byte, compression CompressionMethod) ([]byte, error)

Types

type CompressionMethod

type CompressionMethod int
const (
	NONE CompressionMethod = iota
	RLE
	RLE16
	LZ4
	RawLZ4
	ZX0
)

func ToCompressMethod

func ToCompressMethod(val int) CompressionMethod

Jump to

Keyboard shortcuts

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