Function std::char::decode_utf8[][src]

Important traits for DecodeUtf8<I>
pub fn decode_utf8<I>(i: I) -> DecodeUtf8<<I as IntoIterator>::IntoIter> where
    I: IntoIterator<Item = u8>, 
Deprecated since 1.27.0

: Use str::from_utf8 instead: https://doc.rust-lang.org/nightly/std/str/struct.Utf8Error.html#examples

🔬 This is a nightly-only experimental API. (decode_utf8 #33906)

Decodes an Iterator of bytes as UTF-8.