c7942caff0
If the current sequence has literal length of zero then an offset value of three is handled in a special manner. While I implemented a golang decoder I had to consult the educational decoder for clarification on the update of the offset history in that case. This commit provides the clarification that the offset value Repeated_Offset1-1 is handled as a new offset is added to the offset history accordingly. |
||
---|---|---|
.. | ||
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 detailed instructions to use zstd
library.
zstd_manual.html
: Documentation of zstd.h
API, in html format.
Click on this link: http://zstd.net/zstd_manual.html
to display documentation of latest release in readable format within a browser.
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.
Should you look for ressources to develop your own port of Zstandard algorithm, you may find the following ressources useful :
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 of Zstandard decoder.
decode_corpus
:
This tool, stored in /tests
directory, is able to generate random valid frames,
which is useful if you wish to test your decoder and verify it fully supports the specification.