Base64: {
decode: ((value: string, urlSafe?: boolean) => {
toObject<T>(): null | T;
toString(): string;
toUint8Array(): Uint8Array;
});
encode: ((value: string | object | Uint8Array, urlSafe?: boolean) => string);
} = ...
Type declaration
-
decode: ((value: string, urlSafe?: boolean) => {
toObject<T>(): null | T;
toString(): string;
toUint8Array(): Uint8Array;
})
-
- (value: string, urlSafe?: boolean): {
toObject<T>(): null | T;
toString(): string;
toUint8Array(): Uint8Array;
}
-
Parameters
-
value: string
-
urlSafe: boolean = false
Returns {
toObject<T>(): null | T;
toString(): string;
toUint8Array(): Uint8Array;
}
-
toObject:function
- toObject<T>(): null | T
-
Returns null | T
-
toString:function
- toString(): string
-
Returns string
-
toUint8Array:function
- toUint8Array(): Uint8Array
-
Returns Uint8Array
-
encode: ((value: string | object | Uint8Array, urlSafe?: boolean) => string)
-
- (value: string | object | Uint8Array, urlSafe?: boolean): string
-
Parameters
-
value: string | object | Uint8Array
-
urlSafe: boolean = false
Returns string