pub fn detect_format_from_bytes(header: &[u8]) -> Option<Format>
Detect format from file content bytes.