parse_dcts_strict_to_dc_chars

Function parse_dcts_strict_to_dc_chars 

Source
pub fn parse_dcts_strict_to_dc_chars(bytes: &[u8]) -> Result<Vec<DcChar>>
Expand description

Parses strict Dcts text (&[u8]) into a sequence of DcChars.

Unlike lenient display converters, every @...@ token must either be @@ (literal '@') or a valid crate::DcShorthand (or L<id> local graph reference expanded to Dc 296 followed by a DcNumber). All 128-bit Document Characters—including surrogate codepoints 0xD800..=0xDFFF—are valid. Unclosed @ delimiters, malformed shorthands, and invalid UTF-8 return an error.