ruzstd

Module frame

Source

Structs§

  • Zstandard compressed data is made of one or more Frames. Each frame is independent and can be decompressed independently of other frames.
  • The first byte is called the Frame Header Descriptor, and it describes what other fields are present.
  • A frame header has a variable size, with a minimum of 2 bytes, and a maximum of 14 bytes.

Enums§

Constants§

Functions§

  • Read a single serialized frame from the reader and return a tuple containing the parsed frame and the number of bytes read.