pub fn parse_common_header_with_bytes<T: Read>(
input: &mut T,
) -> Result<ParsedHeader, ParserError>Expand description
Parse the MRT common header and return both the parsed header and raw bytes.
This is useful when you need to preserve the original bytes for debugging or exporting problematic records without re-encoding.