A helper class to implement
IRng
methods via either NextUInt32 or NextUInt64. Little Endian order is used where relevant.- Namespace
- RandN
.Implementation - Base Types
- object
Syntax
public static class Filler
Remarks
Based off of Rust's rand core crate 0.5.1. https://docs.rs/rand_core/0.5.1/src/rand_core/impls.rs.html
Methods
Name | Return Value | Summary | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
FillBytesViaNext | void | Implement FillBytes via NextUInt64 and NextUInt32, little-endian order. static | |||||||||
FillViaUInt32Chunks | (int consumedUInt32, Fills dest with UInt32 chunks from src. static FillViaUInt64 | (int consumedUInt64, | Fills dest with UInt64 chunks from src. static NextUInt32ViaUInt64 | uint | Implement NextUInt32 via NextUInt64. static NextUInt64ViaUInt32 | ulong | Implement NextUInt64 via NextUInt32, using Little Endian order. static |