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

Method get

projects/JavaScript/proto/fbe.js:3841–3847  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3839 * @returns {!object} Result value and its size
3840 */
3841 get () {
3842 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
3843 return { value: new Int64(0, 0), size: 0 }
3844 }
3845
3846 return { value: this.readInt64(this.fbeOffset), size: this.fbeSize }
3847 }
3848
3849 /**
3850 * Set the value

Callers

nothing calls this directly

Calls 1

readInt64Method · 0.45

Tested by

no test coverage detected