Function network::peer::fuzzing::generate_corpus
source · 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.