multiversx_chain_vm::display_util

Function bytes_to_string

Source
pub fn bytes_to_string(bytes: &[u8]) -> String
Expand description

returns it as hex formatted number if it’s not valid utf8