xorxornop / lz4pcl Goto Github PK
View Code? Open in Web Editor NEWStreaming safe+unsafe x86/64 LZ4 compression portable class library in C#
License: Apache License 2.0
Streaming safe+unsafe x86/64 LZ4 compression portable class library in C#
License: Apache License 2.0
I've spent hours testing LZ4 implementations and yours, without native libraries, still remains the faster.
Thanks for your effort.
Hi
I am trying to compress and decompress byte arrays using your library. I could not understand how I could decode an encoded byte array since I cannot know the output array size.
I might of course add some bytes to store and read the initial (uncompressed) array lenght myself, but shouldn't the library do that? I really don't see why output lenght should be given for a decode process.
Any help is appreciated.
private static byte[] compress_LZ4PCL(byte[] arr) { return LZ4PCL.LZ4Codec.Encode64(arr,0, arr.Length); } private static byte[] decompress_LZ4PCL(byte[] arr) { return LZ4PCL.LZ4Codec.Decode64(arr, 0, arr.Length, ????); byte[] res = new byte[????]; int len = LZ4PCL.LZ4Codec.Decode64(arr, 0, arr.Length, res, 0, res.Length, false); return res; }
Apologies for creating an issue on your repository but I couldn't find another way to contact you.
I am having problems with LZ4.NET as it doesn't seem to work on Xamarin. I've asked MiloszKrajewski and discovered that he has not actually tested on Xamarin!
EDIT: I have tested LZ4PCL on Xamarin.iOS and Xamarin.Android and it works! Thank you, I will relate this back to MiloszKrajewski.
It would be helpful if the nuget package for LZ4PCL had signing using a .snk file. Is this something you are happy to do?
Hello Matt (and fellow resharper user :), love your work on this project. Do you happen to have slack or discord or something where we could chat a little?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.