MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / readByte

Method readByte

projects/JavaScript/proto/fbe.js:616–621  ·  view source on GitHub ↗

* Read byte value from the field model buffer * @this {!FieldModelBase} * @param {!number} offset Offset * @returns {!number} Byte value

(offset)

Source from the content-addressed store, hash-verified

614 * @returns {!number} Byte value
615 */
616 readByte (offset) {
617 offset = offset >>> 0
618 offset += this._buffer.offset
619 this._buffer.checkOffset(offset, 1)
620 return this._buffer.buffer[offset]
621 }
622
623 /**
624 * Read char value from the field model buffer

Callers 15

getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45

Calls 1

checkOffsetMethod · 0.45

Tested by

no test coverage detected