pub fn extract_version(data: &[u8]) -> Option<u8>
Extracts the version byte from the header Returns None if the data doesn’t have a valid magic header