MCPcopy Index your code
hub / github.com/feross/buffer / read

Function read

index.js:777–783  ·  view source on GitHub ↗
(buf, i)

Source from the content-addressed store, hash-verified

775 }
776
777 function read (buf, i) {
778 if (indexSize === 1) {
779 return buf[i]
780 } else {
781 return buf.readUInt16BE(i * indexSize)
782 }
783 }
784
785 let i
786 if (dir) {

Callers 1

arrayIndexOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…