Snapshot 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.
Fully 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.
A seedable pseudo-random number generator. The core surface (
float/uint32/int/die) produces unbiased values; the control surface (seed/getState/setState) lets the singleton and e2e reset and snapshot the stream.