Initial commit
This commit is contained in:
commit
0bbcab5727
24 changed files with 1416 additions and 0 deletions
9
codec/src/util.rs
Normal file
9
codec/src/util.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use rand::random;
|
||||
|
||||
pub fn rand_u32() -> u32 {
|
||||
random::<u32>()
|
||||
}
|
||||
|
||||
pub fn rand_u64() -> u64 {
|
||||
random::<u64>()
|
||||
}
|
||||
Loading…
Reference in a new issue