buffer to add to
string to be added
start position in buffer (i.e. offset to place string at)
Implementation of atob() according to the HTML and Infra specs, except that instead of throwing INVALID_CHARACTER_ERR we return null.
string containing base64 representation
Uint8Array
A lookup table for atob(), which converts an ASCII character to the corresponding six-bit number.
btoa() as defined by the HTML and Infra specs, which mostly just references RFC 4648.
string containing base64 representation
Lookup table for btoa(), which converts a six-bit number into the corresponding ASCII character.
Debug code to format a Uint8Array to string for logging
Uint8Array to be converted to hex string
Extract a big-endian float from a uint8array
Uint8Array containing float
float
Extract a big-endian int16 from a uint8array
Uint8Array containing int16
int16
Extract a big-endian int8 from a uint8array
Uint8Array containing int8
position (offset in buf) to get from
int16
Extract a big-endian uint16 from a uint8array
Uint8Array containing uint16
int16
Extract a big-endian uint16 from a uint8array
Uint8Array containing uint16
int16
Extract a big-endian uint8 from a uint8array
Uint8Array containing uint8
position (offset in buf) to get from
int16
Get a string from a Uint8Array buffer
buffer to get from
start position in buffer (i.e. offset to start of string at)
length of string to get
strGot - string got from buffer
Generated using TypeDoc
Add a string to a Uint8Array buffer