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

Method get

projects/JavaScript/proto/test.js:913–919  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

911 * @returns {!object} Result value and its size
912 */
913 get () {
914 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
915 return { value: new FlagsSimple(), size: 0 }
916 }
917
918 return { value: new FlagsSimple(this.readInt32(this.fbeOffset)), size: this.fbeSize }
919 }
920
921 /**
922 * Set the value

Callers

nothing calls this directly

Calls 1

readInt32Method · 0.45

Tested by

no test coverage detected