Skip to main content

encode

Function encode 

Source
pub fn encode(bytes: &[u8]) -> (String, &'static str)
Expand description

Data for an event: text when it is printable UTF-8, hex otherwise, with the encoding named.