Function ocl_core::util::bytes_into_string [] [src]

pub fn bytes_into_string(bytes: Vec<u8>) -> OclResult<String>

Converts a byte Vec into a string, removing the trailing null byte if it exists.