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.