(buf, value, offset, ext, max, min)
| 3893 | } |
| 3894 | |
| 3895 | function checkInt (buf, value, offset, ext, max, min) { |
| 3896 | if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') |
| 3897 | if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') |
| 3898 | if (offset + ext > buf.length) throw new RangeError('Index out of range') |
| 3899 | } |
| 3900 | |
| 3901 | Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { |
| 3902 | value = +value |
no outgoing calls
no test coverage detected
searching dependent graphs…