Module dc_str

Module dc_str 

Source
Expand description

Borrowed string slice for DcTF format.

Structs§

DcCharIndices
An iterator over the characters and their byte indices in a DcStr.
DcChars
An iterator over the characters (DcChar) of a DcStr.
DcStr
A borrowed string slice containing valid DcTF data. Analogous to DcMstr and Rust’s str.

Functions§

validate_dctf
Validates that a byte slice contains valid DcTF data.
validate_dcutf
Validates that a byte slice contains valid legacy UTF-8e-128 (DcUtf) data.