(buf, value, offset, ext, max, min)
| 3111 | }; |
| 3112 | |
| 3113 | function checkInt (buf, value, offset, ext, max, min) { |
| 3114 | if (!internalIsBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') |
| 3115 | if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') |
| 3116 | if (offset + ext > buf.length) throw new RangeError('Index out of range') |
| 3117 | } |
| 3118 | |
| 3119 | Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { |
| 3120 | value = +value; |
no test coverage detected