Skip to main content

Module object_parser

Module object_parser 

Source
Expand description

PDF object parsing — builds Object values from token streams.

Handles indirect object definitions (N G obj ... endobj), direct objects, and stream objects with length resolution via direct /Length + endstream scan fallback.

Functions§

parse_indirect_object
Parse an indirect object at the given offset: N G obj <value> endobj.
parse_object
Parse a direct (non-indirect) object starting at the given offset.