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

Method set

projects/JavaScript/proto/fbe.js:1591–1598  ·  view source on GitHub ↗

* Set the value * @this {!FieldModelInt64} * @param {!Int64} value Value

(value)

Source from the content-addressed store, hash-verified

1589 * @param {!Int64} value Value
1590 */
1591 set (value) {
1592 console.assert(((this._buffer.offset + this.fbeOffset + this.fbeSize) <= this._buffer.size), 'Model is broken!')
1593 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1594 return
1595 }
1596
1597 this.writeInt64(this.fbeOffset, value)
1598 }
1599}
1600
1601exports.FieldModelInt64 = FieldModelInt64

Callers

nothing calls this directly

Calls 1

writeInt64Method · 0.80

Tested by

no test coverage detected