aobscan 0.3.0

AOBscan is a library for multi-threaded AOB memory scanning
Documentation
1
2
3
4
5
6
7
8
9
use rand::RngCore;

//noinspection ALL
pub fn random_bytes(len: usize) -> Vec<u8> {
    let mut rng = rand::thread_rng();
    let mut bytes = vec![0u8; len];
    rng.fill_bytes(&mut bytes);
    bytes
}