Variable Base64Const

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;
        }

  • 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

Generated using TypeDoc