From: Lady Date: Fri, 19 May 2023 07:20:39 +0000 (-0700) Subject: Fix base64 implementation X-Git-Tag: 0.3.0~4 X-Git-Url: https://git.ladys.computer/Pisces/commitdiff_plain/8d2beebdeea4000740fc3914f5d568f473629951?hp=8d2beebdeea4000740fc3914f5d568f473629951 Fix base64 implementation I believe that the old implementation was just wrong, and it simply wasn’t caught because Deno’s `assertEquals` doesn’t actually know what to do with raw buffers. Wrapping them to build typed arrays creates working tests, and this implementation matches observed behaviour with `atob` and `btoa`. ---