pub fn to_string(input_trytes: &str) -> Result<String, TrytesToStringError> {
    let mut buf = vec![0 as u8; input_trytes.len() / 2];
    trytes_to_bytes(input_trytes, buf.as_mut_slice())?;
    Ok(str::from_utf8(buf.as_slice())?.to_string())
}
/// Converts a tryte-encoded string into a UTF-8 string
Converts a tryte-encoded string into a UTF-8 string
Converts a tryte - encoded string into a UTF - 8 string
pub fn to_string(input_trytes: &str) -> Result<String, TrytesToStringError> {
    let mut buf = vec![0 as u8; input_trytes.len() / 2];
    trytes_to_bytes(input_trytes, buf.as_mut_slice())?;
    Ok(str::from_utf8(buf.as_slice())?.to_string())
}
pub fn to_string ( input_trytes : & str ) -> Result < String , TrytesToStringError > { let mut buf = vec ! [ 0 as u8 input_trytes len ( ) 2 ] ; trytes_to_bytes ( input_trytes , buf . as_mut_slice ( ) ) ? ; Ok ( str :: from_utf8 ( buf . as_slice ( ) ) ? . to_string ( ) ) }
Converts a tryte-encoded string into a UTF-8 string
Converts a tryte - encoded string into a UTF - 8 string
input_trytes
&str
input_trytes
&str