Skip to main content

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

NameTypeDescription
lengthnumberThe length of buffer to create.

Returns

Uint8Array

The random array.

Constructors

constructor

new RandomHelper()