xxd_str

Function xxd_str 

Source
pub fn xxd_str<T: Read>(data: T, format: Option<Format>) -> String
Expand description

Returns the whole xxd output as one string.

ยงExamples

extern crate hex_utils;


let text = "The quick brown fox jumps over the lazy dog";

println!("{}", hex_utils::xxd_str(text.as_bytes(), None));