pub fn parse_xref_stream(
source: &[u8],
offset: u64,
mode: ParsingMode,
) -> Result<(XrefSection, HashMap<Name, Object>), PdfError>Expand description
Parse a cross-reference stream at the given offset.
Returns the xref section entries and the trailer dictionary (which is the stream’s own dictionary).