Expand description
Conversion between dceutils formats (CdceLegacy, Dce, Dce_3_0a, Dce_3_01a, etc.) and DcMstring.
Supported short Dc repertoires by DCE format version:
- DCE 3.0a (
3_0a,3_0a_raw,hex_3_0a,hex_3_0a_raw): short Dcs0..=115(excluding2..=12, which had no byte mappings in 3.0a). - DCE 3.01a (
3_01a,3_01a_raw,hex_3_01a,hex_3_01a_raw) anddce/hex_dce: short Dcs0..=199, unlocking Base64 encapsulation (Dc 191..Dc 127..=190/Dc 195..Dc 192) for data and UTF-8. - DCE 3.02a (
3_02a,3_02a_raw,hex_3_02a,hex_3_02a_raw): stubbed (returns an error when invoked; version selector inDCE_Version_Selectorsis TBD).
Unlike EITE formats, dceutils formats do not support Dc 308 (Next number is a long (global graph) Dc).
Unrepresentable characters are logged as warnings in FormatLog. Import
removes the outer file envelope, retains body encoding controls, and validates
or repairs UTF-8 encapsulations through shared document conversion APIs.
Functionsยง
- dceutils_
to_ dcmstring_ with_ options - Converts a
dceutilsformat byte slice toDcMstring. - dcmstr_
to_ dceutils_ with_ options - Encodes a document using shared Unicode conversion and UTF-8 recovery.
- dcmstring_
to_ dceutils - Converts a
DcMstringto adceutilsformat byte vector.