ZstdNet 1.4.5
Zstd compression library wrapper for .NET
Install-Package ZstdNet -Version 1.4.5
dotnet add package ZstdNet --version 1.4.5
<PackageReference Include="ZstdNet" Version="1.4.5" />
paket add ZstdNet --version 1.4.5
#r "nuget: ZstdNet, 1.4.5"
Release Notes
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
Dependencies
-
.NETFramework 4.5
- System.Memory (>= 4.5.4)
-
.NETStandard 2.0
- System.Memory (>= 4.5.4)
-
.NETStandard 2.1
- No dependencies.
Used By
NuGet packages (4)
Showing the top 4 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
|
|
EasyCompressor.Zstd
EasyCompressor is an open-source compression abstraction library that supports and implements many compression algorithms such as Zstd, LZMA, LZ4, Snappy, Brotli, GZip and Deflate.
It is very useful for using along with distributed caching or storing files in database.
|
|
Reloaded.Messaging.Compressor.ZStandard
Basic ZStandard compression implementation for Reloaded.Messaging based off of ZstdNet.
|
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on ZstdNet:
Repository | Stars |
---|---|
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.
|
|
SCToolsfactory/SCJMapper-V2
SC Joystick Mapper (.Net 4; using sharpDX wrapper)
|