Documentation ¶
Overview ¶
Package lzjs implements the lz-string data compress / decompression routines. It aims for full binary compatibility with lz-string
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Compress ¶
Compress is the basic routine to compress data to uint16, to match the utf16 data produced in lz-string
func CompressToBase64 ¶
CompressToBase64 takes a string and returns the base64 encoded, compressed data
func Decompress ¶
Decompress is the basic routine to decompress the utf16 data produced in lz-string into the origin string
func DecompressFromBase64 ¶
DecompressFromBase64 takes a base64 encoded compressed blob and returns the origin, uncompressed data
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.