Expand description
Bidirectional converters between DcMstring and 7-bit ASCII documents,
including the ASCII Safe Subset (printable ASCII with CRLF line endings).
Structs§
- Ascii
Settings - Configuration settings for ASCII conversion.
Enums§
- Ascii
Unmappable Policy - Policy for handling characters in
DcMstringthat cannot be directly represented as 7-bit ASCII during export.
Functions§
- ascii_
safe_ subset_ to_ dcmstring - Converts an ASCII Safe Subset text document to
DcMstring. - ascii_
safe_ subset_ to_ dcmstring_ with_ settings - Converts an ASCII Safe Subset text document to
DcMstringwith custom settings. - ascii_
to_ dcmstring - Converts a 7-bit ASCII text document to
DcMstringusing default settings. - ascii_
to_ dcmstring_ with_ settings - Converts a 7-bit ASCII text document to
DcMstringwith custom settings. - dcmstring_
to_ ascii - Converts a
DcMstringto 7-bit ASCII document bytes using default settings. - dcmstring_
to_ ascii_ safe_ subset - Converts a
DcMstringto ASCII Safe Subset document bytes (printable ASCII with CRLF newlines) using default settings. - dcmstring_
to_ ascii_ safe_ subset_ with_ settings - Converts a
DcMstringto ASCII Safe Subset document bytes with custom settings. - dcmstring_
to_ ascii_ with_ settings - Converts a
DcMstringto 7-bit ASCII document bytes with custom settings. - is_
ascii_ newline - Returns true if the byte is an ASCII newline (
\ror\n). - is_
ascii_ printable - Returns true if the byte is considered printable ASCII (
0x20..=0x7E). - is_
ascii_ safe_ subset_ char - Returns true if the byte is an allowed ASCII Safe Subset character (printable ASCII or newline).