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

Method get

projects/JavaScript/proto/test.js:1463–1469  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1461 * @returns {!object} Result value and its size
1462 */
1463 get () {
1464 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1465 return { value: new FlagsEmpty(), size: 0 }
1466 }
1467
1468 return { value: new FlagsEmpty(this.readInt32(this.fbeOffset)), size: this.fbeSize }
1469 }
1470
1471 /**
1472 * Set the value

Callers

nothing calls this directly

Calls 1

readInt32Method · 0.45

Tested by

no test coverage detected