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

Method get

projects/JavaScript/proto/enums.js:594–600  ·  view source on GitHub ↗

* Get the value * @this {!FieldModelEnumWChar} * @param {EnumWChar=} defaults Default value, defaults is new EnumWChar() * @returns {!EnumWChar} Result value

(defaults = new EnumWChar())

Source from the content-addressed store, hash-verified

592 * @returns {!EnumWChar} Result value
593 */
594 get (defaults = new EnumWChar()) {
595 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
596 return defaults
597 }
598
599 return new EnumWChar(this.readUInt32(this.fbeOffset))
600 }
601
602 /**
603 * Set the value

Callers

nothing calls this directly

Calls 1

readUInt32Method · 0.45

Tested by

no test coverage detected