(offset, ext, length)
| 3718 | * Need to make sure that buffer isn't trying to write out of bounds. |
| 3719 | */ |
| 3720 | function checkOffset (offset, ext, length) { |
| 3721 | if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') |
| 3722 | if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') |
| 3723 | } |
| 3724 | |
| 3725 | Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { |
| 3726 | offset = offset >>> 0 |
no outgoing calls
no test coverage detected
searching dependent graphs…