Skip to main content

Base64

Constants

must be multiple of 3

Functions

base64 is 4/3 + up to two characters of the original data

lookup : Array.<string>

Kind: global constant

revLookup : Array.<number>

Kind: global constant

MAX_CHUNK_LENGTH

must be multiple of 3

Kind: global constant

getLens(b64) ⇒ Array.<number>

Kind: global function

ParamType
b64string

_byteLength(validLen, placeHoldersLen)

base64 is 4/3 + up to two characters of the original data

Kind: global function

ParamType
validLennumber
placeHoldersLennumber

toByteArray(b64) ⇒ Uint8Array

Kind: global function

ParamType
b64string

tripletToBase64(num) ⇒ string

Kind: global function

ParamType
numnumber

encodeChunk(uint8, start, end) ⇒ string

Kind: global function

ParamType
uint8Uint8Array
startnumber
endnumber

fromByteArray(uint8) ⇒ string

Kind: global function

ParamType
uint8Uint8Array