MCPcopy Index your code
hub / github.com/nodejs/node / Wtf8StartsCodepoint

Function Wtf8StartsCodepoint

deps/v8/test/mjsunit/wasm/stringrefs-exec.js:946–948  ·  view source on GitHub ↗
(wtf8, offset)

Source from the content-addressed store, hash-verified

944 ]);
945
946 function Wtf8StartsCodepoint(wtf8, offset) {
947 return (wtf8[offset] & 0xc0) != 0x80;
948 }
949 function Wtf8PositionTreatment(wtf8, offset) {
950 while (offset < wtf8.length) {
951 if (Wtf8StartsCodepoint(wtf8, offset)) return offset;

Callers 2

Wtf8PositionTreatmentFunction · 0.85
CodepointStartFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected