UNMAINTAINED: This library is no longer maintained, because I rarely use Windows or C++ these days. It has not been updated in years. You are welcome to adopt the library if you find it useful.
Snappy.NET is a .NET wrapper for Snappy compression algorithm. It includes raw block compression as well as an implementation of Snappy framing format.
- Documentation: Home, Tutorial for .NET
- Download: see Tutorial for .NET
- Sources: GitHub, Bitbucket
- Issues: GitHub, Bitbucket
- License: BSD license
- See also upstream Snappy
using (var file = File.OpenWrite("mydata.sz"))
using (var compressor = new SnappyStream(file, CompressionMode.Compress))
using (var writer = new StreamWriter(compressor))
writer.WriteLine("Hello World!");