ZstdNet 1.4.5

.NET Standard 2.0 .NET Framework 4.5
dotnet add package ZstdNet --version 1.4.5
NuGet\Install-Package ZstdNet -Version 1.4.5
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZstdNet" Version="1.4.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZstdNet --version 1.4.5
#r "nuget: ZstdNet, 1.4.5"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install ZstdNet as a Cake Addin
#addin nuget:?package=ZstdNet&version=1.4.5

// Install ZstdNet as a Cake Tool
#tool nuget:?package=ZstdNet&version=1.4.5

Zstd compression library wrapper for .NET

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on ZstdNet:

Package Downloads
Pulsar.Client

.NET client library for Apache Pulsar

SharpPulsar

SharpPulsar is Apache Pulsar Client built using Akka.net

ZoneTree The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

ZoneTree is a persistent, high-performance, transactional, ACID-compliant ordered key-value database for NET. It can operate in memory or on local/cloud storage.

EasyCompressor.Zstd

A compression library that implements many compression algorithms such as LZ4, Zstd, LZMA, Snappy, Brotli, GZip, and Deflate. It helps you to improve performance by reducing Memory Usage and Network Traffic for caching.

Reloaded.Messaging.Compressor.ZStandard

Basic ZStandard compression implementation for Reloaded.Messaging based off of ZstdNet.

GitHub repositories (9)

Showing the top 5 popular GitHub repositories that depend on ZstdNet:

Repository Stars
BeyondDimension/SteamTools
🛠「Watt Toolkit」是一个开源跨平台的多功能 Steam 工具箱。
morkt/GARbro
Visual Novels resource browser
toddams/RazorLight
Template engine based on Microsoft's Razor parsing engine for .NET Core
overtools/OWLib
Series of programs (tools) to interact with the Overwatch files.
mjebrahimi/EasyCompressor
⚡ A compression library that implements many compression algorithms such as LZ4, Zstd, LZMA, Snappy, Brotli, GZip, and Deflate. It helps you to improve performance by reducing Memory Usage and Network Traffic for caching.
Version Downloads Last updated
1.4.5 245,195 11/29/2020
1.3.3 121,068 1/6/2018
1.3.1 6,083 8/23/2017
1.2.0 1,435 5/6/2017
1.0.0 2,175 11/7/2016

Main changes:
* libzstd v1.4.5
* Span support (#19)
* Streaming support (#18)
* Advanced parameters APIs support

Some other changes:
* `libzstd.dll` now cross-compiled using `(i686|x86_64)-w64-mingw32-gcc -DZSTD_MULTITHREAD -DZSTD_LEGACY_SUPPORT=0 -pthread -s` instead of `msvc` for performance reasons
* `ZstdException` error codes exposed
* On buffers close to 2GB `Wrap` now tries its best, but if source is uncompressible and the size is too large, `ZstdException` with `ZSTD_error_dstSize_tooSmall` will be thrown (#21)
* Buffer pooling on `Wrap` without `dst` param

Possibly breaking changes:
* `Decompressor.GetDecompressedSize()` now throws `ZstdException` instead of returning `0` on error
* `ZstdException` with error code `ZSTD_error_dstSize_tooSmall` instead of `InsufficientMemoryException` on `Wrap` if destination buffer too small
* `ZstdException` with error code `ZSTD_error_dstSize_tooSmall` instead of `ArgumentOutOfRangeException` on `Unwrap` if destination buffer too small