pub fn bytestring(max_len: usize) -> Vec<u8> {
    let s = (random::<usize>() % (max_len - 1)) + 1;
    let mut bs = Vec::with_capacity(s);
    for _ in 1..s {
        bs.push(random());
    }
    bs
}
// Random Bytestring with random length in range 1..max_len.
Random Bytestring with random length in range 1..max_len.
Random Bytestring with random length in range 1 .. max_len .
pub fn bytestring(max_len: usize) -> Vec<u8> {
    let s = (random::<usize>() % (max_len - 1)) + 1;
    let mut bs = Vec::with_capacity(s);
    for _ in 1..s {
        bs.push(random());
    }
    bs
}
pub fn bytestring ( max_len : usize ) -> Vec < u8 > { let s = ( random :: < usize > ( ) % ( max_len - 1 ) ) + 1 ; let mut bs = Vec :: with_capacity ( s ) ; for _ in 1 .. s { bs . push ( random ( ) ) ; } bs }
Random Bytestring with random length in range 1..max_len.
Random Bytestring with random length in range 1 .. max_len .
max_len
usize
max_len
usize