Constructor
new Writer(size)
Creates a writer with specified size.
Parameters:
Name | Type | Description |
---|---|---|
size |
number | Allocated buffer size. |
- Source:
Methods
write(buffer)
Writes array into buffer.
Parameters:
Name | Type | Description |
---|---|---|
buffer |
array.<byte> | Data to write. |
- Source: