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

Method get

projects/JavaScript/proto/protoex.js:719–725  ·  view source on GitHub ↗

* Get the value * @this {!FieldModelStateEx} * @returns {!object} Result value and its size

()

Source from the content-addressed store, hash-verified

717 * @returns {!object} Result value and its size
718 */
719 get () {
720 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
721 return { value: new StateEx(), size: 0 }
722 }
723
724 return { value: new StateEx(this.readByte(this.fbeOffset)), size: this.fbeSize }
725 }
726
727 /**
728 * Set the value

Callers

nothing calls this directly

Calls 1

readByteMethod · 0.45

Tested by

no test coverage detected