Commit graph

1 commit

Author SHA1 Message Date
kommander
98bcf108e3 feat(codemode): add Uint8Array, Buffer, TextEncoder, TextDecoder, atob and btoa
Uint8Array with JS byte semantics (wrapping writes, shared subarray views,
live iterators, the callback methods, base64 and hex), Node's Buffer over
it with its encodings, numeric reads and writes and Node error codes,
UTF-8 TextEncoder and streaming TextDecoder, and forgiving-base64 atob and
btoa. Also fixes Object.prototype.toLocaleString to call toString and adds
Array.prototype.toLocaleString. No new dependencies; the stripped embed
example grows from 3262504 to 3379344 bytes.

Uint8Array numeric arguments and byte values convert without consulting program methods, as the reference's coerceToNumber does.
2026-11-18 18:56:09 +01:00