Git Product home page Git Product logo

lz4pcl's People

Contributors

xorxornop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lz4pcl's Issues

Fastest LZ4 implementation

I've spent hours testing LZ4 implementations and yours, without native libraries, still remains the faster.
Thanks for your effort.

How would I know the output lenght for decode?

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;
     }

Does your repository actually support Xamarin?

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?

Would like to ask you some questions

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.