[W.I.P] This object is used to represent binary data in the form of a sequence of bytes.
Requires
Classes
Methods
(static) this.toJSON() → {Binary}
[W.I.P]
Returns:
- Type
- Binary
(static) this.toString(encodingopt, startopt, endopt) → {string}
Decodes buf to a string according to the specified character encoding.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
encoding |
string |
<optional> |
'utf8'
|
ascii, utf8, utf16le, ucs2, base64, latin1, binary, hex |
start |
number |
<optional> |
0
|
|
end |
number |
<optional> |
Default: buf.length |
Returns:
- Type
- string
(static) this.values() → {Binary}
Returns:
- Type
- Binary