addaleax / lzma-native

Node.js interface to the native liblzma compression library (.xz file format, among others)
MIT License
105 stars 37 forks source link

Uncompressed size missing when calling `lzma.LZMA().compress` #119

Open jeanbmar opened 3 years ago

jeanbmar commented 3 years ago

Thank you very much for your work on this project.

I've noticed the uncompressed file size is set to 0xffffffffffffffff when using lzma.LZMA().compress with a Buffer, but I was expecting to find the actual size since it is known. Is there a specific reason for it? Is the End Of Payload Marker used under the hood?