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

Method get

projects/JavaScript/proto/protoex.js:415–421  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

413 * @returns {!object} Result value and its size
414 */
415 get () {
416 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
417 return { value: new OrderType(), size: 0 }
418 }
419
420 return { value: new OrderType(this.readByte(this.fbeOffset)), size: this.fbeSize }
421 }
422
423 /**
424 * Set the value

Callers

nothing calls this directly

Calls 1

readByteMethod · 0.45

Tested by

no test coverage detected