Versions in this module Expand all Collapse all v0 v0.4.0 Aug 19, 2026 v0.3.0 Aug 17, 2026 v0.2.0 Aug 6, 2026 v0.1.0 Aug 4, 2026 Changes in this version + func Write(w io.Writer, p Plan, bodies map[int][]byte, m Meta) error + type Graph struct + Catalog int + Info int + OpenDoc []int + Other []int + Outlines int + PageTree []int + Pages []int + Refs map[int][]int + UseOutlines bool + type Hint struct + O int + Payload []byte + S int + func EncodeHints(h Hints) (Hint, error) + type Hints struct + FirstPageOffset int + FirstSharedObj int + FirstSharedOffset int + NSharedFirstPage int + Outline *OutlineHint + Pages []PageHint + Shared []SharedHint + type Meta struct + ID [2][]byte + Version string + type OutlineHint struct + FirstObject int + FirstObjectOffset int + GroupLength int + NObjects int + type PageHint struct + Length int + NObjects int + SharedIDs []int + type Plan struct + Catalog int + Hint int + Info int + LinDict int + NPages int + Outlines []int + PageShared [][]int + Part4 []int + Part6 []int + Part7 [][]int + Part8 []int + Part9 []int + Renumber map[int]int + Size int + func PlanLayout(g Graph) (Plan, error) + type SharedHint struct + GroupLength int