Documentation
¶
Overview ¶
Package smaz is a pure Go implementation of the smaz algorithm (https://github.com/antirez/smaz) for compressing small strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultCodec = NewCodec(DefaultCodeStrings())
View Source
var ErrCorrupt = errors.New("smaz: corrupt input")
ErrCorrupt reports that the input is invalid.
Functions ¶
func DefaultCodeStrings ¶
func DefaultCodeStrings() []string
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.