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

Method set

projects/JavaScript/proto/test.js:1410–1417  ·  view source on GitHub ↗

* Set the value * @this {!FieldModelFlagsEmpty} * @param {!FlagsEmpty} value Value

(value)

Source from the content-addressed store, hash-verified

1408 * @param {!FlagsEmpty} value Value
1409 */
1410 set (value) {
1411 console.assert(((this._buffer.offset + this.fbeOffset + this.fbeSize) <= this._buffer.size), 'Model is broken!')
1412 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1413 return
1414 }
1415
1416 this.writeInt32(this.fbeOffset, value.value)
1417 }
1418}
1419
1420exports.FieldModelFlagsEmpty = FieldModelFlagsEmpty

Callers

nothing calls this directly

Calls 1

writeInt32Method · 0.80

Tested by

no test coverage detected