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

Method get

projects/JavaScript/proto/test.js:630–636  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

628 * @returns {!object} Result value and its size
629 */
630 get () {
631 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
632 return { value: new EnumEmpty(), size: 0 }
633 }
634
635 return { value: new EnumEmpty(this.readInt32(this.fbeOffset)), size: this.fbeSize }
636 }
637
638 /**
639 * Set the value

Callers

nothing calls this directly

Calls 1

readInt32Method · 0.45

Tested by

no test coverage detected