(input: Uint8Array)
| 44 | } |
| 45 | |
| 46 | function arrayToBase64(input: Uint8Array): string { |
| 47 | return base64.fromByteArray(input); |
| 48 | } |
| 49 | |
| 50 | function base64ToArray(b64: string): Uint8Array<ArrayBufferLike> { |
| 51 | const cleanB64 = b64.replace(/\s+/g, ""); |
no outgoing calls
no test coverage detected