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

Method get

projects/JavaScript/proto/fbe.js:3705–3711  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3703 * @returns {!object} Result value and its size
3704 */
3705 get () {
3706 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
3707 return { value: 0, size: 0 }
3708 }
3709
3710 return { value: this.readInt32(this.fbeOffset), size: this.fbeSize }
3711 }
3712
3713 /**
3714 * Set the value

Callers

nothing calls this directly

Calls 1

readInt32Method · 0.45

Tested by

no test coverage detected