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

Method get

projects/JavaScript/proto/proto.js:198–204  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

196 * @returns {!object} Result value and its size
197 */
198 get () {
199 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
200 return { value: new OrderSide(), size: 0 }
201 }
202
203 return { value: new OrderSide(this.readByte(this.fbeOffset)), size: this.fbeSize }
204 }
205
206 /**
207 * Set the value

Callers

nothing calls this directly

Calls 1

readByteMethod · 0.45

Tested by

no test coverage detected