ReadonlybufReadonlydecodeReadonlyencryptedTrue when the document declares an /Encrypt dictionary.
ReadonlylostObject streams that would not decode; their objects are missing from objects.
ReadonlytrailersThe document catalog, found via a trailer /Root or by type as a fallback.
The page count the page tree's root declares (/Count), if it declares one.
Resolve a dictionary entry.
Fetch object num, parsing it on first use.
The pages in reading order. Walks the page tree from the catalog; if that is missing or broken, falls back to every object of /Type /Page in object-number order, which is the order they were written in.
Follow indirect references until a direct value is reached.
StaticloadParse a PDF from bytes. Throws ParseError when the file is not a PDF.
What every stream this document decodes is charged to — see
MAX_DECODED_BYTES.