Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
pcwalton
on May 18, 2022
|
parent
|
context
|
favorite
| on:
Zstandard Worked Example
The first 4 bytes are the magic number and the last 4 bytes are the checksum [1] which you could always just chop off if you wanted (it's legal to omit the checksum, see the spec). That would get the total overhead down to 5 bytes.
[1]:
https://github.com/facebook/zstd/blob/dev/doc/zstd_compressi...
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://github.com/facebook/zstd/blob/dev/doc/zstd_compressi...