Skip to main content

content_segments

Function content_segments 

Source
pub fn content_segments(
    dict: &PageDict,
    r: &impl Resolve,
    limits: &Limits,
    diags: &mut Diagnostics,
) -> (Vec<u8>, Vec<usize>)
Expand description

The content of dict’s page, decoded and joined, with the end offset of each /Contents element — read through r.