MCPcopy Index your code
hub / github.com/nodejs/node / readUInt8

Function readUInt8

lib/internal/buffer.js:254–261  ·  view source on GitHub ↗
(buf, offset = 0)

Source from the content-addressed store, hash-verified

252}
253
254function 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
263function readUIntBE(offset, byteLength) {
264 if (offset === undefined)

Callers 3

readUIntLEFunction · 0.85
readUIntBEFunction · 0.85

Calls 1

boundsErrorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…