/node-lz11

LZ11 module for node.js written in pure javascript

Primary LanguageJavaScriptISC LicenseISC

npm deps

lz11

Decompresses a LZ11 compressed buffer

API

decompress ⇒ Promise.<Buffer>

Decompresses a LZ11 compressed buffer

Kind: global variable
Returns: Promise.<Buffer> - A promise that resolves to the decompressed data buffer

Param Type Description
inputBuffer Buffer LZ11 compressed buffer
maxDecompressedSize Integer The maximum size for the output buffer

Credit

Based on the work by mtheall located at https://github.com/mtheall/decompress/