(buf, value, offset, ext, max, min)
| 1391 | } |
| 1392 | |
| 1393 | function checkInt (buf, value, offset, ext, max, min) { |
| 1394 | if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') |
| 1395 | if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') |
| 1396 | if (offset + ext > buf.length) throw new RangeError('Index out of range') |
| 1397 | } |
| 1398 | |
| 1399 | Buffer.prototype.writeUintLE = |
| 1400 | Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { |
no outgoing calls
no test coverage detected
searching dependent graphs…