(value: string)
| 1 | export function base64Encode(value: string) { |
| 2 | return btoa(value).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "") |
| 3 | } |
| 4 | |
| 5 | export function base64Decode(value: string) { |
| 6 | return atob(value.replace(/-/g, "+").replace(/_/g, "/")) |
nothing calls this directly
no outgoing calls
no test coverage detected