gausplat_loader::function::encode

Function string_from_vec

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

Convert bytes to a UTF-8 string.

ยงErrors

It returns an error if the bytes are not a valid UTF-8 string.