Module dc

Module dc 

Source
Expand description

Direct-connect data structures and table definitions for EITE.

Modules§

data
Direct-connect and data table definitions for EITE format systems.

Structs§

DcChar
A single Document Character (Dc) or Unicode codepoint, represented as a 128-bit integer.

Constants§

DC_BASE64_END
Base 64 encapsulation digit 63 (Dc 190).
DC_BASE64_PADDING
Base 64 encapsulation padding character (Dc 195).
DC_BASE64_START
Base 64 encapsulation digit 0 (Dc 127).
DC_END_ENCAPSULATION_BINARY
See description for 203 (Dc 204).
DC_END_ENCAPSULATION_UTF8
End Base 64 encapsulated UTF-8 (Dc 192).
DC_ESCAPE
Indicates that the next character should be ignored. (Dc 255).
DC_REPLACEMENT_UNAVAIL_DC
Used to replace an incoming character whose value is not mapped to a Dc (document component) (Dc 207).
DC_REPLACEMENT_UNAVAIL_UNICODE
Used to replace an incoming character whose value is unknown or unrepresentable in Unicode (Dc 206).
DC_START_ENCAPSULATION_BINARY
Arbitrary binary data (base64 encoded, no semantic significance assigned to it unless optional type is specified). Optional length counts decoded payload bytes; optional checksum covers those bytes. (Dc 203).
DC_START_ENCAPSULATION_UTF8
Begin Base 64 encapsulated UTF-8 (Dc 191).

Functions§

bytes_as_dc_encapsulated_utf8
bytes_to_dc_encapsulated_binary
bytes_to_dc_encapsulated_raw
dc_encapsulated_raw_to_bytes
dc_get_bidi_class
Bidi class (field 3).
dc_get_casing
Casing (field 4).
dc_get_column
Extract an entire column (by field number) from a dataset.
dc_get_combining_class
Combining class (field 2).
dc_get_complex_traits
Complex traits (field 7).
dc_get_description
Description (field 8).
dc_get_el_class
dc_get_field
Generic field fetch (dataset “DcData”, by numeric Dc id and original JS field number).
dc_get_mapping_to_format
Look up a Dc (document character) mapping into a specific output format.
dc_get_name
Name (field 1).
dc_get_script
Script (field 6).
dc_get_type
Type (field 5).
dc_is_el_code
dc_is_newline
Return true if Dc should be treated as a newline (coarse heuristic).
dc_is_printable
True if printable (excludes line/para separators, categories starting with ‘!’ or ‘C’).
dc_is_space
True if general category ‘Zs’.
get_dc_count
Return length of the primary ‘DcData’ dataset.
is_dc_base64_encapsulation_char
Returns true if ch is a Base64 encapsulation digit (127..=190) or padding (195).
is_dc_base64_encapsulation_character
is_known_dc
maximum_known_short_dc
string_to_dc_encapsulated_utf8