Expand description
Implementation of Format 461 (Dcts: DcText short).
Like DcText, but Document Characters (Dcs) are short by default:
@123@= short Dc 123 (SHORT_DC_REGION_START + 123)a= literal Unicodea@@= codepoint 64 (@)@l123@= long Dc 123@L123@= local node reference (short Dc 296 followed by Dc number 123)@u123a@= Unicode codepoint U+123A (hex)@f123@= Format 123 (FORMAT_REGION_START + 123)
Structs§
- Dcts
Options - Options for Dcts serialization.
Functions§
- dcarray_
to_ dcts - Converts an EITE DcArray (short Dcs,
&[u32]) to Dcts format (Vec<u8>). - dclist_
to_ dcts - Serializes a sequence of Document Character IDs (
&[u128]) to Dcts format bytes using default options. - dclist_
to_ dcts_ string_ with_ options - Serializes a sequence of Document Character IDs (
&[u128]) to a DctsStringusing the specified formatting options. - dclist_
to_ dcts_ with_ options - Serializes a sequence of Document Character IDs (
&[u128]) to Dcts format bytes using the specified options. - dcmstring_
to_ dcts - Converts a
DcMstringto Dcts bytes. - dcstring_
to_ dcts - Serializes a
DcStrto Dcts format bytes (Vec<u8>). - dctf_
to_ dcts - Converts DcTF format bytes to Dcts format bytes.
- dcts_
to_ dcarray - Converts a Dcts document (
&[u8]) to an EITE DcArray (short Dcs,Vec<u32>). - dcts_
to_ dclist - Parses a Dcts document (
&[u8]) into aDcList(Vec<u128>). - dcts_
to_ dcmstring - Converts a Dcts document to
DcMstring. - dcts_
to_ dcmstring_ with_ options - Converts a Dcts document to
DcMstring, optionally in permissive mode. - dcts_
to_ dcstring - Parses a Dcts document (
&[u8]) directly into aDcString. - dcts_
to_ dctf - Converts Dcts format bytes to DcTF format bytes.
- dcts_
to_ dcutf - Converts Dcts format bytes to legacy DcUtf format bytes.
- dcutf_
to_ dcts - Converts legacy DcUtf format bytes to Dcts format bytes.