At the time of writing GC arrays do have a length limit of 2^32, which is reflected in decodeStringFromUTF8Array() and encodeStringIntoUTF8Array() taking and returning i32s. A concern was raised that this could change in the future.
So we could either:
At the time of writing GC arrays do have a length limit of 2^32, which is reflected in
decodeStringFromUTF8Array()andencodeStringIntoUTF8Array()taking and returningi32s. A concern was raised that this could change in the future.So we could either:
i64s and require users to convert.