Releases: skbkontur/ZstdNet
Releases · skbkontur/ZstdNet
v1.4.5.0
Main changes:
Some other changes:
libzstd.dll
now cross-compiled using(i686|x86_64)-w64-mingw32-gcc -DZSTD_MULTITHREAD -DZSTD_LEGACY_SUPPORT=0 -pthread -s
instead ofmsvc
for performance reasonsZstdException
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
withZSTD_error_dstSize_tooSmall
will be thrown (#21) - Buffer pooling on
Wrap
withoutdst
param
Possibly breaking changes:
Decompressor.GetDecompressedSize()
now throwsZstdException
instead of returning0
on errorZstdException
with error codeZSTD_error_dstSize_tooSmall
instead ofInsufficientMemoryException
onWrap
if destination buffer too smallZstdException
with error codeZSTD_error_dstSize_tooSmall
instead ofArgumentOutOfRangeException
onUnwrap
if destination buffer too small