Hi, I tried to use Nodejs brotli to unpack the lo.tar.br file but I am not sure how to use it. After zlib.brotliDecompress, the tar.br file is still not unpacked.
Could you please provide an example? Thank you
// decode a buffer where the output size is known
brotli.decompress(compressedData, uncompressedLength);
// decode a buffer where the output size is not known
brotli.decompress(fs.readFileSync('compressed.bin'));
Hi, I tried to use Nodejs brotli to unpack the lo.tar.br file but I am not sure how to use it. After
zlib.brotliDecompress
, the tar.br file is still not unpacked.Could you please provide an example? Thank you
What I tried
https://nodejs.org/api/zlib.html#zlibbrotlidecompressbuffer-options-callback
From brotli npm doc,