]> Lady’s Gitweb - Pisces/commit
Fix base64 implementation
authorLady <redacted>
Fri, 19 May 2023 07:20:39 +0000 (00:20 -0700)
committerLady <redacted>
Sat, 20 May 2023 01:03:34 +0000 (18:03 -0700)
commit8d2beebdeea4000740fc3914f5d568f473629951
tree254d8a1e1064762aa1e051443ed3bfd72d21a9d3
parent0752ef49a10befbfc3c3cb5aa0c194ad5dddef8a
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`.
binary.js
binary.test.js
deno.json
dev-deps.js
This page took 0.022432 seconds and 4 git commands to generate.