Commit graph

2 commits

Author SHA1 Message Date
Sebastian Herrlinger
1d250bc759 test(codemode): record the conformance cases through the reference's language runtime 2026-11-19 01:53:45 +01:00
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