pub fn parse_object_stream(
data: &[u8],
dict: &HashMap<Name, Object>,
mode: ParsingMode,
) -> Result<ObjectStreamContents, PdfError>Expand description
Parse the decompressed contents of an object stream.
The stream dict must contain:
/N: number of objects in the stream/First: byte offset of the first object data (past the header)
The stream data format is:
objnum1 offset1 objnum2 offset2 ... objnumN offsetN
<object1_data> <object2_data> ... <objectN_data>data is the decompressed stream bytes.
dict is the stream’s dictionary.