Module buffer
nanorand
0.7.0
Module buffer
Module Items
Structs
In crate nanorand
Modules
buffer
crypto
entropy
gen
rand
tls
nanorand
Module
buffer
Copy item path
Settings
Help
Summary
Source
Expand description
Provides a buffered wrapper for RNGs, preventing bits from being wasted.
Structs
§
Buffered
Rng
A buffered wrapper for any
Rng
implementation. It will keep unused bytes from the last call to
Rng::rand
, and use them for subsequent randomness if needed, rather than throwing them away.