pub fn get_bounded_random_buffer(buffer: &mut [u32], max: u32)
Fill buffer with bounded random integers