(wtf8, offset)
| 954 | return wtf8.length; |
| 955 | } |
| 956 | function CodepointStart(wtf8, offset) { |
| 957 | if (offset >= wtf8.length) return wtf8.length; |
| 958 | while (!Wtf8StartsCodepoint(wtf8, offset)) { |
| 959 | offset--; |
| 960 | } |
| 961 | return offset; |
| 962 | } |
| 963 | |
| 964 | let instance = builder.instantiate(); |
| 965 | let memory = new Uint8Array(instance.exports.memory.buffer); |
no test coverage detected