deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

encodeBase64/decodeBase64 seems to be inefficient

Open sigmaSd opened this issue 5 months ago • 13 comments

These function use atob and btoa internally and they oom easily with large strings

Maybe instead they should use node:buffer (Buffer.from(i).toString("base64") Buffer.from(i,"base64"))

sigmaSd avatar Sep 11 '24 22:09 sigmaSd