rle

package
v0.0.0-...-e05d22d Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotEnoughSpace = errors.New("Not enough space in decompression buffer")

Functions

func Compress

func Compress(data []byte) []byte

func Decompress

func Decompress(compressed []byte, decompressed []byte) (int, error)

Upon success, returns (decompressed size, nil). Upon failure, returns (0, error).

Types

This section is empty.

Jump to

Keyboard shortcuts

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