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