crypt.lz4

Documentation of Synapse Z crypt.lz4 library

crypt.lz4.compress

string crypt.lz4.compress(data: string)

compresses data using lz4

crypt.lz4.decompress

string crypt.lz4.decompress(string: data, return_size: number?)

decompresses data using lz4, optionally can specify return size