Skip to content

Commit 690d752

Browse files
author
Lucas
committed
add btoa()/atob() builtins
- Introduce global btoa() and atob() functions - Encoder: fast 12-bit pair-LUT, ~3.6 GB/s - Decoder: branchless streaming form, ~0.65 GB/s scalar - Tolerant to whitespace, validates padding and invalid input - Minimal allocations: only one malloc if input is wide-char
1 parent 5299e09 commit 690d752

File tree

3 files changed

+465
-9
lines changed

3 files changed

+465
-9
lines changed

0 commit comments

Comments
 (0)