base64.d.ts 501 B

12345678910111213141516
  1. /**
  2. * Encodes a string in base64 format.
  3. * @param value the string to encode
  4. */
  5. export declare function encodeString(value: string): string;
  6. /**
  7. * Encodes a byte array in base64 format.
  8. * @param value the Uint8Aray to encode
  9. */
  10. export declare function encodeByteArray(value: Uint8Array): string;
  11. /**
  12. * Decodes a base64 string into a byte array.
  13. * @param value the base64 string to decode
  14. */
  15. export declare function decodeString(value: string): Uint8Array;
  16. //# sourceMappingURL=base64.d.ts.map