[src]

Function std::str::is_utf8

pub fn is_utf8(v: &[u8]) -> bool

Determines if a vector of bytes contains valid UTF-8.