MCPcopy Create free account
hub / github.com/bitpay/bitcore-message / read

Function read

bitcore-message.js:1026–1032  ·  view source on GitHub ↗
(buf, i)

Source from the content-addressed store, hash-verified

1024 }
1025
1026 function read (buf, i) {
1027 if (indexSize === 1) {
1028 return buf[i]
1029 } else {
1030 return buf.readUInt16BE(i * indexSize)
1031 }
1032 }
1033
1034 var i
1035 if (dir) {

Callers 1

arrayIndexOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected