iroh_test::hexdump

Function parse_hexdump

Source
pub fn parse_hexdump(s: &str) -> Result<Vec<u8>>
Expand description

Parses a commented multi line hexdump into a vector of bytes.

This is useful to write wire level protocol tests.