encoding

package
v0.0.0-...-9df2b95 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HuffmanCode

type HuffmanCode struct{}

func (*HuffmanCode) Decode

func (h *HuffmanCode) Decode(encodedText string) ([]byte, error)

func (*HuffmanCode) Encode

func (h *HuffmanCode) Encode(s string) ([]byte, error)

type HuffmanTreeNode

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

func (HuffmanTreeNode) String

func (h HuffmanTreeNode) String() string

func (HuffmanTreeNode) Val

func (h HuffmanTreeNode) Val() int

Jump to

Keyboard shortcuts

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