Function network::peer::fuzzing::generate_corpus[][src]

pub fn generate_corpus(gen: &mut ValueGenerator) -> Vec<u8>
Expand description

Generate a sequence of NetworkMessage, bcs serialize them, and write them out to a buffer using our length-prefixed message codec.