ca1a9ebac5
it was invoking ZSTD_initCStream_advanced() with pledgedSrcSize==0 and contentSizeFlag=1 which means "empty" while the intention was to mean "unknown". The contentSizeFlag==1 is new, it is a consequence of setting this value to 1 by default. The solution selected here is to pass ZSTD_CONTENTSIZE_UNKNOWN to mean "unknown". So contentSizeFlag remains set (it wasn't in previous versions). |
||
---|---|---|
.. | ||
educational_decoder | ||
images | ||
README.md | ||
zstd_compression_format.md | ||
zstd_manual.html |
Zstandard Documentation
This directory contains material defining the Zstandard format,
as well as for help using the zstd
library.
zstd_compression_format.md
: This document defines the Zstandard compression format.
Compliant decoders must adhere to this document,
and compliant encoders must generate data that follows it.
educational_decoder
: This directory contains an implementation of a Zstandard decoder,
compliant with the Zstandard compression format.
It can be used, for example, to better understand the format,
or as the basis for a separate implementation a Zstandard decoder/encoder.
zstd_manual.html
: Documentation on the functions found in zstd.h
.
See http://zstd.net/zstd_manual.html for
the manual released with the latest official zstd
release.