#include <ZStreamR_Random.h>
Inheritance diagram for ZStreamR_Random:
Public Member Functions | |
void | SetSeed (int32 iSeed) |
The sequence of bytes is determined by the seed passed to the stream's constructor. An instantiated stream's sequence can be reset by calling ZStreamR_Random::SetSeed. It's most useful as the source to a read filter stream which needs to be tested against non-homegenous but repeatable data, and where you don't want to have to manually generate that sequence.
void ZStreamR_Random::SetSeed | ( | int32 | iSeed | ) |
Set the stream's pseudo-random seed, thus setting the sequence of bytes that will be generated by subsequent reads from the stream.