(offset, byteLength)
| 261 | } |
| 262 | |
| 263 | function readUIntBE(offset, byteLength) { |
| 264 | if (offset === undefined) |
| 265 | throw new ERR_INVALID_ARG_TYPE('offset', 'number', offset); |
| 266 | if (byteLength === 6) |
| 267 | return readUInt48BE(this, offset); |
| 268 | if (byteLength === 5) |
| 269 | return readUInt40BE(this, offset); |
| 270 | if (byteLength === 3) |
| 271 | return readUInt24BE(this, offset); |
| 272 | if (byteLength === 4) |
| 273 | return readUInt32BE(this, offset); |
| 274 | if (byteLength === 2) |
| 275 | return readUInt16BE(this, offset); |
| 276 | if (byteLength === 1) |
| 277 | return readUInt8(this, offset); |
| 278 | |
| 279 | boundsError(byteLength, 6, 'byteLength'); |
| 280 | } |
| 281 | |
| 282 | function readUInt48BE(buf, offset = 0) { |
| 283 | validateNumber(offset, 'offset'); |
nothing calls this directly
no test coverage detected
searching dependent graphs…