MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / _verify_len

Method _verify_len

g2all/700/lapse.js:1400–1404  ·  view source on GitHub ↗
(len)

Source from the content-addressed store, hash-verified

1398 }
1399
1400 _verify_len(len) {
1401 if (!(Number.isInteger(len) && 0 <= len <= 0xffffffff)) {
1402 throw TypeError("len not a 32-bit unsigned integer");
1403 }
1404 }
1405
1406 copyin(src, dst, len) {
1407 this._verify_len(len);

Callers 2

copyinMethod · 0.95
copyoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected