Class Random
Namespace: Algorand.Unity.Crypto
Assembly: cs.temp.dll.dll
Syntax
public static class Random
Methods
Bytes<T>()
Declaration
public static T Bytes<T>()
where T : struct
Returns
Type | Description |
---|---|
T |
Type Parameters
Name | Description |
---|---|
T |
Randomize(Span<Byte>)
Declaration
public static void Randomize(Span<byte> bytes)
Parameters
Type | Name | Description |
---|---|---|
Span<Byte> | bytes |
Randomize<T>(T)
Declaration
public static void Randomize<T>(T bytes)
where T : struct, IByteArray
Parameters
Type | Name | Description |
---|---|---|
T | bytes |
Type Parameters
Name | Description |
---|---|
T |