PdfString
A byte-level PDF string. bytes is the raw payload AFTER PDF escape processing (so backslash escapes inside literal strings are already resolved, and hex strings are already decoded to bytes).
Whether these bytes are ASCII, UTF-16BE, PDFDocEncoding, or a font-specific encoding is determined by context. asAsciiOrNull() is a convenience for the common case of trailer strings, names of fonts, etc.
Functions
Link copied to clipboard
Link copied to clipboard
Resolve indirect refs against refs; non-refs return themselves.