Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion proposals/js-text-encoding-builtins/Overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func encodeStringIntoUTF8Memory(
string: externref,
start: i64,
end: i64
) -> (i64, i64)
) -> (i32, i64)
{
start >>>= 0;
end >>>= 0;
Expand Down Expand Up @@ -217,3 +217,7 @@ There is an [ongoing discussion](https://github.com/WebAssembly/esm-integration/
### Why do the provided functions take `i64` instead of `i32`?

This enables support for the Memory64 proposal.

### What about JS strings larger than 2^32 bytes?

Given that currently no engine supports strings larger than 2^30 and there are currently no plans to do so, we concluded to postpone specifically addressing this. See [#3](https://github.com/WebAssembly/js-text-encoding-builtins/issues/3).