Base64: {
VERSION: string;
atob: ((asc) => string);
atobPolyfill: ((asc) => string);
btoa: ((bin) => string);
btoaPolyfill: ((bin) => string);
btou: ((b) => string);
decode: ((src) => string);
encode: ((src, urlsafe?) => string);
encodeURI: ((src) => string);
encodeURL: ((src) => string);
extendBuiltins: (() => void);
extendString: (() => void);
extendUint8Array: (() => void);
fromBase64: ((src) => string);
fromUint8Array: ((u8a, urlsafe?) => string);
isValid: ((src) => boolean);
toBase64: ((src, urlsafe?) => string);
toUint8Array: ((a) => Uint8Array);
utob: ((u) => string);
version: string;
}
Type declaration
VERSION: string
atob: ((asc) => string)
- (asc): string
Returns string
atobPolyfill: ((asc) => string)
- (asc): string
Returns string
btoa: ((bin) => string)
- (bin): string
Returns string
btoaPolyfill: ((bin) => string)
- (bin): string
Returns string
btou: ((b) => string)
- (b): string
Returns string
decode: ((src) => string)
- (src): string
Returns string
encode: ((src, urlsafe?) => string)
- (src, urlsafe?): string
Parameters
- src: string
Optional urlsafe: boolean
Returns string
encodeURI: ((src) => string)
- (src): string
Returns string
encodeURL: ((src) => string)
- (src): string
Returns string
extendBuiltins: (() => void)
extendString: (() => void)
extendUint8Array: (() => void)
fromBase64: ((src) => string)
- (src): string
Returns string
fromUint8Array: ((u8a, urlsafe?) => string)
- (u8a, urlsafe?): string
Parameters
- u8a: Uint8Array
Optional urlsafe: boolean
Returns string
isValid: ((src) => boolean)
- (src): boolean
Returns boolean
toBase64: ((src, urlsafe?) => string)
- (src, urlsafe?): string
Parameters
- src: string
Optional urlsafe: boolean
Returns string
toUint8Array: ((a) => Uint8Array)
- (a): Uint8Array
Returns Uint8Array
utob: ((u) => string)
- (u): string
Returns string
version: string