(input)
| 145 | * @since 2.0.0 |
| 146 | */ |
| 147 | export const encodeBase64: (input: Uint8Array | string) => string = (input) => |
| 148 | typeof input === "string" ? base64EncodeUint8Array(encoder.encode(input)) : base64EncodeUint8Array(input) |
| 149 | |
| 150 | /** |
| 151 | * Decodes a base64 (RFC4648) string into bytes safely. |
nothing calls this directly
no test coverage detected