[src]

Function std::str::from_utf8_owned

pub fn from_utf8_owned(vv: ~[u8]) -> Option<~str>

Consumes a vector of bytes to create a new utf-8 string. Returns None if the vector contains invalid UTF-8.