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

Method get

projects/JavaScript/proto/fbe.js:3909–3915  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3907 * @returns {!object} Result value and its size
3908 */
3909 get () {
3910 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
3911 return { value: new UInt64(0, 0), size: 0 }
3912 }
3913
3914 return { value: this.readUInt64(this.fbeOffset), size: this.fbeSize }
3915 }
3916
3917 /**
3918 * Set the value

Callers

nothing calls this directly

Calls 1

readUInt64Method · 0.45

Tested by

no test coverage detected