Function hex_utils::xxd_str
[−]
[src]
pub fn xxd_str<T: Read>(data: T, format: Option<Format>) -> String
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));