AthenaShared.utility.buffer.AthenaBuffer ​
shared/utility/buffer.AthenaBuffer
Constructors ​
constructor ​
• new AthenaBuffer()
Methods ​
fromBuffer ​
Usage
AthenaShared.utility.buffer.AthenaBuffer.Static
fromBuffer(data
): string
Turns a buffer into a string.
Static
Parameters ​
Name | Type |
---|---|
data | string [] |
Returns ​
string
Defined in ​
toBuffer ​
Usage
AthenaShared.utility.buffer.AthenaBuffer.Static
toBuffer(data
, size?
): string
[]
Create a String Buffer from a string. Splits huge strings into a larger array.
Static
Parameters ​
Name | Type | Default value |
---|---|---|
data | string | undefined |
size | number | 512 |
Returns ​
string
[]