dca_from_utf8

Function dca_from_utf8 

Source
pub fn dca_from_utf8(
    utf8_bytes: &[u8],
    settings: &UTF8FormatSettings,
) -> Result<(Vec<u32>, FormatLog)>
Expand description

Decode UTF-8 bytes to an internal Dc array, honoring dcBasenb embedding. Translation of original dcaFromUtf8. Should return an Ok() result for all inputs; Err() should only occur for internal errors (= bugs).