Function id3::util::string_from_encoding [] [src]

pub fn string_from_encoding(encoding: Encoding, data: &[u8]) -> Result<String>

Returns a string created from the vector using the specified encoding. Returns None if the vector is not a valid string of the specified encoding type.