pub fn get_format_version<R: Read>( reader: &mut R, ) -> Result<Version, SnapshotError>
Assumes the raw bytes stream read from the given Read instance is a snapshot file, and returns the version of it.
Read