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

Method get

projects/JavaScript/proto/fbe.js:3433–3439  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3431 * @returns {!object} Result value and its size
3432 */
3433 get () {
3434 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
3435 return { value: 0, size: 0 }
3436 }
3437
3438 return { value: this.readInt8(this.fbeOffset), size: this.fbeSize }
3439 }
3440
3441 /**
3442 * Set the value

Callers

nothing calls this directly

Calls 1

readInt8Method · 0.45

Tested by

no test coverage detected