AbstractAbstractgetSnapshot the internal state so it can be restored with setState (e2e captures before an action, replays after).
A copy of the generator's state words — mutating it is safe.
AbstractseedFully reset the stream to a known start (reset, not perturb). String
seeds hash through cyrb128, so seeding each unit test with its own name
gives an independent, reproducible stream for free.
A string, a single number, or the four state words directly.
Abstractset
Shared base deriving the whole Rng surface from a single stateful primitive,
nextUint32. Subclasses implementnextUint32(the raw 32-bit generator) plusseed/getState/setState;float,uint32,int, anddieare unbiased by construction here.