Table of Contents

Interface IRandom

Namespace
Lime
Assembly
Lime.dll
public interface IRandom
Extension Methods

Methods

Next()

int Next()

Returns

int

Next(int)

int Next(int maxValue)

Parameters

maxValue int

Returns

int

Next(int, int)

int Next(int minValue, int maxValue)

Parameters

minValue int
maxValue int

Returns

int

NextBytes(byte[])

void NextBytes(byte[] buffer)

Parameters

buffer byte[]

NextBytes(Span<byte>)

void NextBytes(Span<byte> buffer)

Parameters

buffer Span<byte>

NextDouble()

double NextDouble()

Returns

double

NextLong()

long NextLong()

Returns

long

NextLong(long)

long NextLong(long maxValue)

Parameters

maxValue long

Returns

long

NextLong(long, long)

long NextLong(long minValue, long maxValue)

Parameters

minValue long
maxValue long

Returns

long

NextSingle()

float NextSingle()

Returns

float