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

Method get

projects/JavaScript/proto/fbe.js:1622–1628  ·  view source on GitHub ↗

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

(defaults = new UInt64(0, 0))

Source from the content-addressed store, hash-verified

1620 * @returns {!UInt64} Result value
1621 */
1622 get (defaults = new UInt64(0, 0)) {
1623 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1624 return defaults
1625 }
1626
1627 return this.readUInt64(this.fbeOffset)
1628 }
1629
1630 /**
1631 * Set the value

Callers

nothing calls this directly

Calls 1

readUInt64Method · 0.45

Tested by

no test coverage detected