Class: RandomHelper
Class to help with random generation.
Table of contents
Methods
Constructors
Methods
generate
▸ Static
generate(length
): Uint8Array
Generate a new random array.
Parameters
Name | Type | Description |
---|---|---|
length | number | The length of buffer to create. |
Returns
Uint8Array
The random array.
Constructors
constructor
• new RandomHelper()