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

Method readUInt8

projects/JavaScript/proto/fbe.js:667–672  ·  view source on GitHub ↗

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

(offset)

Source from the content-addressed store, hash-verified

665 * @returns {!number} UInt8 value
666 */
667 readUInt8 (offset) {
668 offset = offset >>> 0
669 offset += this._buffer.offset
670 this._buffer.checkOffset(offset, 1)
671 return this._buffer.buffer[offset]
672 }
673
674 /**
675 * Read Int16 value from the field model buffer

Callers 13

readCharMethod · 0.95
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
getMethod · 0.45
hasValueMethod · 0.45
verifyMethod · 0.45
getMethod · 0.45
hasValueMethod · 0.45

Calls 1

checkOffsetMethod · 0.45

Tested by

no test coverage detected