Skip to main content

Module syntax

Module syntax 

Source

Structs§

CharCodes
PDF character code constants.

Functions§

is_delimiter
Check if a byte is a PDF delimiter character.
is_digit
Check if a byte is a digit (0-9).
is_irregular
Check if a byte is an “irregular” character (whitespace, delimiter, or hash).
is_numeric
Check if a byte is numeric (digit or numeric prefix).
is_numeric_prefix
Check if a byte is a numeric prefix (+, -, .).
is_regular_char
Check if a character code is a “regular” character for PDF names. Regular characters are ! through ~ excluding irregular characters.
is_whitespace
Check if a byte is a PDF whitespace character.