gausplat_loader::function::encode

Function string_from_vec_ascii

source
pub fn string_from_vec_ascii(vec: Vec<u8>) -> Result<String, Error>
Expand description

Convert bytes to an ASCII string.

ยงErrors

It returns an error if the bytes are not a valid ASCII string.