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

Method get

projects/JavaScript/proto/test.js:1397–1403  ·  view source on GitHub ↗

* Get the value * @this {!FieldModelFlagsEmpty} * @param {FlagsEmpty=} defaults Default value, defaults is new FlagsEmpty() * @returns {!FlagsEmpty} Result value

(defaults = new FlagsEmpty())

Source from the content-addressed store, hash-verified

1395 * @returns {!FlagsEmpty} Result value
1396 */
1397 get (defaults = new FlagsEmpty()) {
1398 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1399 return defaults
1400 }
1401
1402 return new FlagsEmpty(this.readInt32(this.fbeOffset))
1403 }
1404
1405 /**
1406 * Set the value

Callers

nothing calls this directly

Calls 1

readInt32Method · 0.45

Tested by

no test coverage detected