(buf, offset = 0)
| 252 | } |
| 253 | |
| 254 | function readUInt8(buf, offset = 0) { |
| 255 | validateNumber(offset, 'offset'); |
| 256 | const val = buf[offset]; |
| 257 | if (val === undefined) |
| 258 | boundsError(offset, buf.length - 1); |
| 259 | |
| 260 | return val; |
| 261 | } |
| 262 | |
| 263 | function readUIntBE(offset, byteLength) { |
| 264 | if (offset === undefined) |
no test coverage detected
searching dependent graphs…