fromSource

fun RandomGenerator.Companion.fromSource(source: RandomSource, seed: Long? = null): RandomSourceGenerator

Returns RandomSourceGenerator with given RandomSource and seed.