Documentation
¶
Overview ¶
Package smaz implements the Smaz compression algorithm for small strings. Based on the original smaz library by antirez.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompressString ¶
CompressString compresses a string to bytes
func Decompress ¶
Decompress decompresses Smaz-compressed data
func DecompressString ¶
DecompressString decompresses bytes to a string
func MustCompress ¶
MustCompress compresses data and panics on error
func MustDecompress ¶
MustDecompress decompresses data and panics on error
Types ¶
Click to show internal directories.
Click to hide internal directories.