MiloszKrajewski / K4os.Compression.LZ4

LZ4/LH4HC compression for .NET Standard 1.6/2.0 (formerly known as lz4net)
MIT License
662 stars 75 forks source link

LZ4 Legacy format support #84

Open AeonLucid opened 1 year ago

AeonLucid commented 1 year ago

I have some files (Android kernels) that are compressed with the legacy LZ4 format as seen here. https://github.com/MiloszKrajewski/K4os.Compression.LZ4/blob/master/orig/doc/lz4_Frame_format.md#legacy-frame It would be great if support could be added for this format. I was not able to find another C# library that can decompress these.

MiloszKrajewski commented 1 year ago

If not a writer then I could do just a reader, but can you point me to some files I can test on?

AeonLucid commented 1 year ago

Sorry for the late reply, just a reader would be perfect. Here are two sample files, which are Google android kernels.