Class RNG
Inheritance
System.Object
RNG
Assembly: Netmavryk.dll
Syntax
public static class RNG : object
Methods
|
Improve this Doc
View Source
GetBytes(Int32)
Declaration
public static byte[] GetBytes(int length)
Parameters
| Type |
Name |
Description |
| System.Int32 |
length |
|
Returns
| Type |
Description |
| System.Byte[] |
|
|
Improve this Doc
View Source
GetInt32()
Declaration
public static int GetInt32()
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
GetInt64()
Declaration
public static long GetInt64()
Returns
| Type |
Description |
| System.Int64 |
|
|
Improve this Doc
View Source
GetNonZeroBytes(Int32)
Declaration
public static byte[] GetNonZeroBytes(int length)
Parameters
| Type |
Name |
Description |
| System.Int32 |
length |
|
Returns
| Type |
Description |
| System.Byte[] |
|
|
Improve this Doc
View Source
WriteBytes(Byte[])
Declaration
public static void WriteBytes(byte[] dst)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
dst |
|
|
Improve this Doc
View Source
WriteNonZeroBytes(Byte[])
Declaration
public static void WriteNonZeroBytes(byte[] dst)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
dst |
|