lz4ref

package
v0.0.0-...-70c2729 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: Apache-2.0, BSD-3-Clause, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompressBlock

func CompressBlock(src, dst []byte) (int, error)

func CompressBlockBound

func CompressBlockBound(n int) int

func CompressBlockLZ4s

func CompressBlockLZ4s(src, dst []byte) (int, error)

func UncompressBlock

func UncompressBlock(dst, src []byte) (ret int)

Types

type Compressor

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

func (*Compressor) CompressBlock

func (c *Compressor) CompressBlock(src, dst []byte) (int, error)

func (*Compressor) CompressBlockLZ4s

func (c *Compressor) CompressBlockLZ4s(src, dst []byte) (int, error)

type Error

type Error string
const (
	ErrInvalidSourceShortBuffer Error = "lz4: invalid source or destination buffer too short"
)

func (Error) Error

func (e Error) Error() string

Jump to

Keyboard shortcuts

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