Module: encoding/base64

Methods

(static) r2s(t, u) → {Uint8Array}

Convert radix-64 to binary array

Parameters:
Name Type Description
t String

radix-64 string to convert

u bool

if true, input is interpreted as URL-safe

Source:
Returns:

binary array version of input string

Type
Uint8Array

(static) s2r(t, u) → {string}

Convert binary array to radix-64

Parameters:
Name Type Default Description
t Uint8Array

Uint8Array to convert

u bool false

if true, output is URL-safe

Source:
Returns:

radix-64 version of input string

Type
string