Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Browsers recently added convenient and safe functions to process base 64 functions Uint8Array.toBase64() and Uint8Array.fromBase64()

Wow, finally! I've had to work around this so many times in the past (btoa/atob do not play nicely with raw binary data - although there are workarounds on the decode path involving generating data URIs)





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: