Skip to main content

Module object

Module object 

Source

Structs§

ObjectId
PdfArray
PdfDictionary
A PDF dictionary backed by an FxHashMap. PDF names are short strings, so the faster non-cryptographic hasher costs little in practice while speeding up both parsing and serialization. The hasher is not collision-resistant, but dictionaries parsed from untrusted input are bounded by the parser’s max_dict_entries limit, which caps the worst-case collision cost.
PdfName
PdfStream
PdfString

Enums§

PdfObject

Functions§

escape_literal_string
Escapes raw bytes as the body of a PDF literal string (no surrounding parens). See escape_literal_string_into for the escaping rules.
escape_literal_string_into
Escapes raw bytes as the body of a PDF literal string (no surrounding parens), appending the escaped bytes to out. The output is always pure ASCII.