Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
Compress compresses *data*. https://algs4.cs.princeton.edu/55compression/Huffman.java.html
Types ¶
type CompressError ¶
type CompressError struct {
// contains filtered or unexported fields
}
CompressError is returned when compress failed.
func (CompressError) Error ¶
func (e CompressError) Error() string
func (CompressError) Unwrap ¶
func (e CompressError) Unwrap() error
type ExpandError ¶
type ExpandError struct {
// contains filtered or unexported fields
}
ExpandError is returned when expand failed.
func (ExpandError) Error ¶
func (e ExpandError) Error() string
func (ExpandError) Unwrap ¶
func (e ExpandError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.