Skip to content

jawa-the-hutt/lz-string-csharp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

lz-string-csharp

C# Class implementation of lz-string (based on https://github.com/pieroxy/lz-string)

Installation

  • Install with NuGet: Install-Package LZStringCSharp, or .NET Core CLI: dotnet add package LZStringCSharp;
  • Downloaded from the Releases page

Please Note

If you plan on using this library for data sent by the browser (e.g. compressed in JavaScript in the browser, and sent to the server using HTTP), do not use compressToUTF16 and DecompressFromUTF16. Safari will mangle up the data by converting to UTF-8, breaking the actual bytes of the request. Instead, you should use compressToEncodedURIComponent DecompressFromEncodedURIComponent.

Contributors

lz-string-csharp was created by jawa-the-hutt, with several necessary improvements made by christianrondeau

About

C# Class implementation of LZ-String javascript library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •