Y
Hacker News
new
|
ask
|
show
|
jobs
by
jeffbee
1675 days ago
Does this mean the Zstd magic number is now cast in stone?
4 comments
cornstalks
1675 days ago
It's an Informational RFC, not a Standards Track RFC (
https://en.wikipedia.org/wiki/Request_for_Comments#Status
). That said, I think the magic number is pretty firmly established.
link
lifthrasiir
1675 days ago
You may have mistaken Brotli (whose file format has no magic number and prevents an easy identification) with Zstandard (whose file format does have defined magic numbers 28 B5 2F FD or [50-5F] 2A 4D 18).
link
jeffbee
1675 days ago
No I'm not confused, it's just that the Zstd magic number has had
8 different values
over the years, so I'm just wondering if we're past that yet.
link
lifthrasiir
1675 days ago
Ah sure. The wire format has been fixed since 0.8.0 (2016-08), so you must have seen a very early phase of development (which took one full year).
link
stouset
1675 days ago
Can you shed some light on why this might be something of concern?
link
wmf
1675 days ago
The file format was finalized years ago, so yes.
link