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

Method _verify_len

g2all/900/lapse.js:1390–1394  ·  view source on GitHub ↗
(len)

Source from the content-addressed store, hash-verified

1388 }
1389
1390 _verify_len(len) {
1391 if (!(Number.isInteger(len) && (0 <= len <= 0xffffffff))) {
1392 throw TypeError('len not a 32-bit unsigned integer');
1393 }
1394 }
1395
1396 copyin(src, dst, len) {
1397 this._verify_len(len);

Callers 2

copyinMethod · 0.95
copyoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected