pub fn ToString<T: Into<usize>>(val: T, len: usize) -> Result<String>