Can you please let me know if the LZMA2 code used in XZ and 7z code are the same?
As in, I know XZ has made some changes to suit them in the lzma2 code, but will it work if I implement it using the code from LZMA sdk?
I don't understand your question.
xz uses lzma2.
lzma2 is just data stream.
xz provides more features over lzma2: headers, CRC, additional filters.
xz_without_crc_and_without_filters is just lzma2 with additional headers: headers before and after lzma2 stream.
Thank you, that clears my doubt
"lzma sdk" uses same lzma2 code for lzma2 in 7z and lzma2 in xz.
But the code in "xz utils" is not identical to "lzma sdk" code.
But data streams must be compatible in any case.
So you can use any code.
Thank you, that was my doubt.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.