huff

package
v0.0.0-...-fe14df0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte) ([]byte, error)

Decode decodes an array of huffman-encoded bytes

func Encode

func Encode(data []byte) []byte

Encode encodes an array of bytes to huffman encoded bytes

Types

type HuffCode

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

type HuffTable

type HuffTable [257]HuffCode

Jump to

Keyboard shortcuts

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