(offset, byteLength)
| 341 | } |
| 342 | |
| 343 | function readIntLE(offset, byteLength) { |
| 344 | if (offset === undefined) |
| 345 | throw new ERR_INVALID_ARG_TYPE('offset', 'number', offset); |
| 346 | if (byteLength === 6) |
| 347 | return readInt48LE(this, offset); |
| 348 | if (byteLength === 5) |
| 349 | return readInt40LE(this, offset); |
| 350 | if (byteLength === 3) |
| 351 | return readInt24LE(this, offset); |
| 352 | if (byteLength === 4) |
| 353 | return readInt32LE(this, offset); |
| 354 | if (byteLength === 2) |
| 355 | return readInt16LE(this, offset); |
| 356 | if (byteLength === 1) |
| 357 | return readInt8(this, offset); |
| 358 | |
| 359 | boundsError(byteLength, 6, 'byteLength'); |
| 360 | } |
| 361 | |
| 362 | function readInt48LE(buf, offset = 0) { |
| 363 | validateNumber(offset, 'offset'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…