Table of Contents

Method GetUInt8

Namespace
DisCatSharp.Common
Assembly
DisCatSharp.Common.dll

GetUInt8(byte, byte)

Generates a unsigned 8-bit integer within specified range.

public byte GetUInt8(byte min = 0, byte max = 255)

Parameters

min byte

Minimum value to generate. Defaults to 0.

max byte

Maximum value to generate. Defaults to MaxValue.

Returns

byte

Generated random value.