Skip to content

Commit

Permalink
Point implementers to simdutf (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot authored Mar 25, 2024
1 parent ddb2890 commit 5b0d178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Try it out on [the playground](https://tc39.github.io/proposal-arraybuffer-base6

Spec text is available [here](https://tc39.github.io/proposal-arraybuffer-base64/spec/), and test262 tests in [this PR](https://github.com/tc39/test262/pull/3994).

Implementers may be interested in [the open-source simdutf library](https://github.com/simdutf/simdutf/?tab=readme-ov-file#base64), which provides a fast implementation of a base64 decoder which matches `Uint8Array.fromBase64(string)` (including handling of whitespace) when it is called without specifying any options. As of this writing it only works on latin1 strings, but a utf16 version [may be coming](https://github.com/simdutf/simdutf/pull/375#issuecomment-2016979707).

## Basic API

```js
Expand Down

0 comments on commit 5b0d178

Please sign in to comment.