Expand description
The linearization parameter dictionary (ISO 32000-1 Annex F.3): the first object of a linearized file, read as data. Nothing here uses the hint streams or the first-page section to load pages early.
Structs§
- Linearization
- The linearization parameter dictionary (ISO 32000-1 Annex F.3, Table F.1): the first object of a linearized file, whose entries locate the first page and the hint streams so a reader can show the first page before the whole file has arrived.
Constants§
- LINEARIZATION_
WINDOW - The leading bytes a linearization parameter dictionary must lie within (ISO 32000-1 Annex F.3.3), so a reader decides whether a file is linearized from one small read.
Functions§
- linearization_
dictionary - Reads the linearization parameter dictionary from
head, the first bytes of a file: the first indirect object of the body, which the annex requires to lie entirely within the first 1024 bytes.Nonewhen that object is not a dictionary carrying/Linearizedor lacks one of Table F.1’s required entries, so a file whose first object is anything else is simply not linearized.