MCPcopy Create free account
hub / github.com/CodeGraphContext/CodeGraphContext / getLEB

Function getLEB

website/public/wasm/web-tree-sitter.js:1901–1911  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1899 }
1900 __name(getU8, "getU8");
1901 function getLEB() {
1902 var ret = 0;
1903 var mul = 1;
1904 while (1) {
1905 var byte = binary2[offset++];
1906 ret += (byte & 127) * mul;
1907 mul *= 128;
1908 if (!(byte & 128)) break;
1909 }
1910 return ret;
1911 }
1912 __name(getLEB, "getLEB");
1913 function getString() {
1914 var len = getLEB();

Callers 3

getStringFunction · 0.85
getStringListFunction · 0.85
Module2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected