Methods
(static) base64StringToByteArray(base64String) → {Uint8Array}
- Description:
Convert a base64 string to a byte array.
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
base64String |
string | base64-encoded data |
Returns:
bytes of the input data
- Type
- Uint8Array
(static) byteArrayToBase64String(byteArray) → {string}
- Description:
Convert a byte array to a base64-encoded string
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
byteArray |
Uint8Array | data bytes |
Returns:
encoded input data
- Type
- string