Method | Description | |
---|---|---|
DeterministicRandom ( int bitArrayLength ) : System |
Initializes a new instance of the DeterministicRandom class, using a random bit array with the specified length.
|
|
DeterministicRandom ( string bits ) : System |
Initializes a new instance of the DeterministicRandom class, using a string of bits (1 and 0) as an input.
|
|
NextBool ( ) : bool |
Reads next bit and returns a boolean value.
|
|
NextInt ( ) : int |
Reads next 32 bits and returns a non-negative integer.
|
|
ToString ( ) : string |
Gets the serialized bit array.
|
public DeterministicRandom ( int bitArrayLength ) : System | ||
bitArrayLength | int | |
return | System |
public DeterministicRandom ( string bits ) : System | ||
bits | string | |
return | System |