Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Handling Zstandard frames

Zstandard frames consist of three parts arranged in the following sequence:

  1. A header that provides information about the frame parameters.
  2. One or more blocks, referred to as blocks.
  3. An optional checksum.

To begin decoding and testing the code, it is necessary to parse and decode a few basic blocks. Let’s begin with this.