pub fn read_file_version(bytes: &[u8]) -> Result<Version, HeaderError>Expand description
Reads the magic-and-version preamble shared by all format versions.
Every shadow file starts with the 6 magic bytes followed by one version byte; this lets callers pick the right version module without depending on any of them.