#
lxz
LXZ is a library with an amalgamation of several compression libraries, including LZMA, ZLIB, ZSTD and more.
You can view more about them on their github:
#
Functions
lxz.encode.z(input: string, async?: function(output: string)): string?
- Compresses the input string using ZLIB compression.
lxz.encode.zstd(input: string, async?: function(output: string)): string?
- Compresses the input string using Zstandard (ZSTD) compression.
lxz.encode.bz2(input: string, async?: function(output: string)): string?
- Compresses the input string using Bzip2 (BZ2) compression.
lxz.encode.lzma(input: string, async?: function(output: string)): string?
- Compresses the input string using LZMA (Lempel-Ziv-Markov chain algorithm).
lxz.encode.glzma(input: string, async?: function(output: string)): string?
- Compresses the input string using Garry's LZMA.
lxz.decode.z(input: string, async?: function(output: string)): string?
- Decompresses a ZLIB-compressed string.
lxz.decode.zstd(input: string, async?: function(output: string)): string?
- Decompresses a Zstandard (ZSTD) compressed string.
lxz.decode.bz2(input: string, async?: function(output: string)): string?
- Decompresses a Bzip2 (BZ2) compressed string.
lxz.decode.lzma(input: string, async?: function(output: string)): string?
- Decompresses an LZMA-compressed string.
lxz.decode.glzma(input: string, async?: function(output: string)): string?
- Decompresses a Garry's LZMA-compressed string.