(offset, byteLength)
| 172 | } |
| 173 | |
| 174 | function readUIntLE(offset, byteLength) { |
| 175 | if (offset === undefined) |
| 176 | throw new ERR_INVALID_ARG_TYPE('offset', 'number', offset); |
| 177 | if (byteLength === 6) |
| 178 | return readUInt48LE(this, offset); |
| 179 | if (byteLength === 5) |
| 180 | return readUInt40LE(this, offset); |
| 181 | if (byteLength === 3) |
| 182 | return readUInt24LE(this, offset); |
| 183 | if (byteLength === 4) |
| 184 | return readUInt32LE(this, offset); |
| 185 | if (byteLength === 2) |
| 186 | return readUInt16LE(this, offset); |
| 187 | if (byteLength === 1) |
| 188 | return readUInt8(this, offset); |
| 189 | |
| 190 | boundsError(byteLength, 6, 'byteLength'); |
| 191 | } |
| 192 | |
| 193 | function readUInt48LE(buf, offset = 0) { |
| 194 | validateNumber(offset, 'offset'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…