Base64: {
decodeBase64(input: string): string;
decodeBase64Url(input: string): string;
encodeBase64(input: string, padding?: boolean): string;
encodeBase64Url(input: string): string;
isBase64Encoded(input: any): boolean;
}
Type declaration
decodeBase64:function
- decodeBase64(input: string): string
Returns string
decodeBase64Url:function
- decodeBase64Url(input: string): string
Returns string
encodeBase64:function
- encodeBase64(input: string, padding?: boolean): string
Parameters
- input: string
Optional
padding: boolean
Returns string
encodeBase64Url:function
- encodeBase64Url(input: string): string
Returns string
isBase64Encoded:function
- isBase64Encoded(input: any): boolean
Returns boolean