Methods
(async) get(buf)
Take numbers out of buffer and copy to array
Parameters:
Name | Type | Description |
---|---|---|
buf |
Uint8Array | The destination array |
- Source:
init(size)
Initialize buffer
Parameters:
Name | Type | Description |
---|---|---|
size |
Integer | size of buffer |
- Source:
set(buf)
Concat array of secure random numbers to buffer
Parameters:
Name | Type | Description |
---|---|---|
buf |
Uint8Array |
- Source: