pub fn detect_linearized(
source: &[u8],
mode: ParsingMode,
) -> Option<LinearizedInfo>Expand description
Detect whether a PDF is linearized by checking the first indirect object.
Returns Some(LinearizedInfo) if the file is linearized, None otherwise.