Function parse_utf8
Source pub fn parse_utf8<S: Source>(r: &mut S) -> Result<String, BitError>
Expand description
parse, then UTF-8-validates into a String.
ยงErrors
As parse, plus Convert on invalid
UTF-8 (a String cannot represent it; keep a Vec<u8> field + parse to
preserve arbitrary bytes).