pub fn xxd_str<T: Read>(data: T, format: Option<Format>) -> StringExpand 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));