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

Method get

projects/JavaScript/proto/fbe.js:3161–3167  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3159 * @returns {!object} Result value and its size
3160 */
3161 get () {
3162 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
3163 return { value: false, size: 0 }
3164 }
3165
3166 return { value: this.readBool(this.fbeOffset), size: this.fbeSize }
3167 }
3168
3169 /**
3170 * Set the value

Callers

nothing calls this directly

Calls 1

readBoolMethod · 0.80

Tested by

no test coverage detected