"

SmallRng Class

Summary

A non-cryptographically secure RNG with good performance and output quality, while requiring limited memory.
Namespace
RandN
Interfaces
Base Types
  • object

Syntax

public sealed class SmallRng : IRng

Methods

NameValueSummary
Create()SmallRng
Creates a StandardRng.
static
Fill(Span<byte>)void
Completely fills the span with random bytes.
GetFactory()SmallRng.Factory
Gets the StandardRng factory.
static
NextUInt32()uint
Returns the next 32 bits in the sequence as a UInt32.
NextUInt64()ulong
Returns the next 64 bits in the sequence as a UInt64.