Expand description
ASCII text formatter and token serialization for EITE.
Structs§
Functions§
- dca_
from_ ascii - (Original JS called dcFromFormat(‘ascii’, singleByteArray).
- dca_
from_ ascii_ safe_ subset - Import from ASCII safe subset.
Collapses CRLF sequences to two bytes, then delegates to
dca_from_ascii. - dca_
to_ ascii - ASCII export: attempt to map each Dc to a single ASCII byte. If the Dc encodes to a multi-byte UTF-8 or a non-ASCII scalar, it is skipped (original emitted a warning). This mirrors the permissive behavior, skipping non-mappable Dcs.
- dca_
to_ ascii_ safe_ subset - Export to ASCII safe subset.
- is_
ascii_ safe_ subset_ char - Predicate: ASCII safe subset char (printable or newline).