Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zstd: improve header decoder #476

Merged
merged 1 commit into from Jan 25, 2022
Merged

zstd: improve header decoder #476

merged 1 commit into from Jan 25, 2022

Commits on Jan 25, 2022

  1. zstd: improve header decoder

    Changes made:
    * Add Header.HeaderSize to track the actual size of the header.
    The header is variable length, so providing this information allows
    the caller to do other low-level tasks, such as determining whether
    the entirety of a zstandard frame is a single segment block.
    * Add Header.Skippable{ID,Size} to make the Header type more
    useful for extracting data from metadata frames (see #459).
    * Re-arrange fields in Header to better match the order
    these appear in RFC 8478.
    dsnet committed Jan 25, 2022
    Copy the full SHA
    d330949 View commit details
    Browse the repository at this point in the history