Skip to main content

Base64

Constants

lookup : Array.<string>
revLookup : Array.<number>
MAX_CHUNK_LENGTH

must be multiple of 3

Functions

getLens(b64)Array.<number>
_byteLength(validLen, placeHoldersLen)

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

toByteArray(b64)Uint8Array
tripletToBase64(num)string
encodeChunk(uint8, start, end)string
fromByteArray(uint8)string

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