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

Add speculative support for zstd compressed chunks #1504

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xPaw
Copy link
Member

@xPaw xPaw commented Feb 6, 2025

Fixes #1503. Do not merge yet as I haven't actually tested it - need to wait for some chunks that actually use this.

@xPaw xPaw force-pushed the depot-compression branch from fac7eb9 to a695ef1 Compare February 7, 2025 08:50
{
static class VZstdUtil
{
private const uint VZstdHeader = 0x56535A61;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be changed to 0x615A5356 since endianness is "reversed" in number literals, i.e the 2 rightmost characters is the value of the first byte

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for zstd compressed depot chunks
3 participants