Function ocl_core::util::bytes_into_trimmed_string
[−]
[src]
pub fn bytes_into_trimmed_string(bytes: Vec<u8>) -> OclResult<String>
Converts a byte Vec into a string, removing the trailing null byte if it exists, then removes leading and trailing whitespace.