struct PDF::Document::CrossRef::Entry
- PDF::Document::CrossRef::Entry
- Struct
- Value
- Object
Included Modules
Defined in:
pdf/document/crossref.crConstant Summary
-
EOL =
"\r\n"
Constructors
Instance Method Summary
- #entry
- #generation : Int32
-
#render_to_pdf(io : IO) : IO
The format of an in-use entry is as follows:
- #using : Bool
Instance methods inherited from module PDF::Renderable
render_to_pdf(io : IO) : IO
render_to_pdf
Constructor Detail
Instance Method Detail
The format of an in-use entry is as follows:
nnnnnnnnnn ggggg n eol
where
nnnnnnnnnn
is a 10-digit byte offsetggggg
is a 5-digit generation numbern
is a literal keyword identifying this as an in-use entry ,for a free entry usef
eol
is a 2-character end-of-line sequence
because a n EOL is just "\r\n",you won't need to add a newline manually