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

Method set

projects/JavaScript/proto/enums.js:607–614  ·  view source on GitHub ↗

* Set the value * @this {!FieldModelEnumWChar} * @param {!EnumWChar} value Value

(value)

Source from the content-addressed store, hash-verified

605 * @param {!EnumWChar} value Value
606 */
607 set (value) {
608 console.assert(((this._buffer.offset + this.fbeOffset + this.fbeSize) <= this._buffer.size), 'Model is broken!')
609 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
610 return
611 }
612
613 this.writeUInt32(this.fbeOffset, value.value)
614 }
615}
616
617exports.FieldModelEnumWChar = FieldModelEnumWChar

Callers

nothing calls this directly

Calls 1

writeUInt32Method · 0.45

Tested by

no test coverage detected