(encoded)
| 33028 | return btoa(String.fromCodePoint(...u8arr)); |
| 33029 | } |
| 33030 | function bytesFromBase64(encoded) { |
| 33031 | return Uint8Array.from(atob(encoded), (c4) => c4.charCodeAt(0)); |
| 33032 | } |
| 33033 | function stringToBytes(str2) { |
| 33034 | return new TextEncoder().encode(str2); |
| 33035 | } |
no test coverage detected