-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore(deps): Drop use of infer
crate
#21623
Conversation
} | ||
} | ||
} | ||
} | ||
|
||
fn is_gzip(data: &[u8]) -> bool { | ||
data.len() > 8 && &data[..3] == b"\x1f\x8b\x08" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these magic bytes defined in an RFC? I think a link to the spec would be useful here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bruceg!
Datadog ReportBranch report: ✅ 0 Failed, 87 Passed, 0 Skipped, 4m 5.63s Total Time |
No description provided.