I'm struggling to decompress lzma data using this library. The data comes as part of proprietary file.
I'll show you three examples of how I get the data that needs to be decompressed:
I'll add the first 16 bytes so you can see header and the start of the raw data:
I know that I can successfully decompress this using lzma utility on ubuntu only when I add the decompressed size (real size or -1) at offset 5. I can also use this approach to decompress it using another js package. This is in fact what I have been doing until now. However, the performance is very bad and its not very well maintained as well, that's why I'm trying to migrate.
But when passing this to libarchive.js it will not even recognize that it is compressed using lzma.
So how am I supposed to pass the data in this scenario?
I'm struggling to decompress lzma data using this library. The data comes as part of proprietary file. I'll show you three examples of how I get the data that needs to be decompressed: I'll add the first 16 bytes so you can see header and the start of the raw data:
I know that I can successfully decompress this using lzma utility on ubuntu only when I add the decompressed size (real size or -1) at offset 5. I can also use this approach to decompress it using another js package. This is in fact what I have been doing until now. However, the performance is very bad and its not very well maintained as well, that's why I'm trying to migrate.
But when passing this to libarchive.js it will not even recognize that it is compressed using lzma.
So how am I supposed to pass the data in this scenario?