Module: base64
Functions
byteLength
▸ byteLength(b64
): number
Parameters
Name | Type |
---|---|
b64 |
string |
Returns
number
Defined in
fromByteArray
▸ fromByteArray(uint8
, urlSafe?
): string
Parameters
Name | Type | Default value |
---|---|---|
uint8 |
Uint8Array |
undefined |
urlSafe |
boolean |
false |
Returns
string
Defined in
isBase64
▸ isBase64(str
): boolean
Parameters
Name | Type |
---|---|
str |
string |
Returns
boolean
Defined in
toByteArray
▸ toByteArray(b64
): Uint8Array
Parameters
Name | Type |
---|---|
b64 |
string |
Returns
Uint8Array