Scoop API

scoop:scoop.std:0.1.0

Xoshiro256StarStar

class Xoshiro256StarStar

source · line 24
public
public class Xoshiro256StarStar private constructor(state: (ULong, ULong, ULong, ULong)) : Random

A deterministic xoshiro256** generator initialized from a Long seed. It is intended for repeatable randomized algorithms, not cryptographic secrets.

function nextBits

source · line 36
public
public override fun nextBits(bitCount: Int): Int

Returns 0..32 high bits of the next generator output in the result's low bits. A zero count returns zero without advancing the generator; counts outside this range throw.