/CSharp-zstd

C# managed implementation of zstd compression algorithm

Primary LanguageC#Apache License 2.0Apache-2.0

CSharp-zstd

C# managed implementation of zstd (Zstandard) compression algorithm. Currently only the decompression part.

Basically the RFC is too hard to understand, so I just ported existing Zstd implementation from Java based aircompressor to C#. Yes, the porting experience was horrible, because Java does not have unsigned integer types.

Why

Because I needed the decompression for another project.

How to use

Coming up later

How do I build this

Requirements

Dotnet core 2.0 environment

Build .dll

Move to src folder and run

dotnet build

Build nuget

TBA

Testing

Requirements

  • nunit
  • NUnit3TestAdapter
  • Microsoft.NET.Test.Sdk

All requirements are restored when you run

dotnet restore

Run tests

Just call

dotnet test

What is in

  • Basic decompress method

What is missing

  • Compress functionality

License

All code is released under Apache License, see License. It is same license as aircompressor has.