Documentation
¶
Overview ¶
Package smaz is an implementation of the smaz library (https://github.com/antirez/smaz) for compressing small strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDecompression = errors.New("invalid or corrupted compressed data")
ErrDecompression is returned when decompressing invalid smaz-encoded data.
Functions ¶
func Decompress ¶
Decompress decompresses a smaz-compressed byte slice and return a new slice with the decompressed data. err is nil if and only if decompression fails for any reason (e.g., corrupted data).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.