Skip to main content

sc.lz4

The LZ4 module lets you encode/decode binary data with the LZ4 compression format!


Functions

decode

sc.lz4.decode( input )

Decodes a string to LZ4

Arguments:

  • input [ string ] The string to decode

Returns:

  • [ string ] The decoded string

encode

sc.lz4.encode( input )

Encodes a string to LZ4

Arguments:

  • input [ string ] The string to encode

Returns:

  • [ string ] The encoded string