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

Method get

projects/JavaScript/proto/fbe.js:3365–3371  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

3363 * @returns {!object} Result value and its size
3364 */
3365 get () {
3366 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
3367 return { value: '\0', size: 0 }
3368 }
3369
3370 return { value: this.readWChar(this.fbeOffset), size: this.fbeSize }
3371 }
3372
3373 /**
3374 * Set the value

Callers

nothing calls this directly

Calls 1

readWCharMethod · 0.45

Tested by

no test coverage detected