4 ms·
Does this mean the Zstd magic number is now cast in stone?
by jeffbee 5y ago
Does this mean the Zstd magic number is now cast in stone?
- stouset 5y agoCan you shed some light on why this might be something of concern?
- cornstalks 5y agoIt's an Informational RFC, not a Standards Track RFC (https://en.wikipedia.org/wiki/Request_for_Comments#Status https://en.wikipedia.org/wiki/Request_for_Comments#Status). That said, I think the magic number is pretty firmly established.
- wmf 5y agoThe file format was finalized years ago, so yes.
- lifthrasiir 5y agoYou 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).
- jeffbee 5y agoNo 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.
- lifthrasiir 5y agoAh 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).