ISeekableRng<TCounter> Interface
An RNG that is seekable - i.e. it can be fast forwarded to any point in the stream.
Namespace
RandN
Interfaces

ISeekableRng<TCounter>

IRng

ChaCha

Syntax

public interface ISeekableRng<TCounter> : IRng

Type Parameters

NameDescription
TCounter

Properties

NameProperty TypeSummary
PositionTCounter
The current position of the RNG.

Extension Methods

NameValueSummary
ShuffleInPlace<ISeekableRng<TCounter>, T>(IList<T>)void
Shuffles a list using the in-place Fisher-Yates shuffling algorithm.
ShuffleInPlace<ISeekableRng<TCounter>, T>(Span<T>)void
Shuffles a span using the in-place Fisher-Yates shuffling algorithm.