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

Method get

projects/JavaScript/proto/enums.js:660–666  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

658 * @returns {!object} Result value and its size
659 */
660 get () {
661 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
662 return { value: new EnumWChar(), size: 0 }
663 }
664
665 return { value: new EnumWChar(this.readUInt32(this.fbeOffset)), size: this.fbeSize }
666 }
667
668 /**
669 * Set the value

Callers

nothing calls this directly

Calls 1

readUInt32Method · 0.45

Tested by

no test coverage detected