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

Method get

projects/JavaScript/proto/fbe.js:1578–1584  ·  view source on GitHub ↗

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

(defaults = new Int64(0, 0))

Source from the content-addressed store, hash-verified

1576 * @returns {!Int64} Result value
1577 */
1578 get (defaults = new Int64(0, 0)) {
1579 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1580 return defaults
1581 }
1582
1583 return this.readInt64(this.fbeOffset)
1584 }
1585
1586 /**
1587 * Set the value

Callers

nothing calls this directly

Calls 1

readInt64Method · 0.45

Tested by

no test coverage detected