pub fn write_bare_dump_to_vec(data: &[u8], target: &mut Vec<u8>)Expand description
Write a simple hex dump of the given data to the given target. The dump contains pairs of hex digits, separated by spaces, no line breaks, decorations, etc.
ยงExamples
let data = [0x00, 0x01, 0x02, 0x03];
let mut target = Vec::new();
qdhex::write_bare_dump_to_vec(&data, &mut target);
assert_eq!(target, b"00 01 02 03");