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

Method set

projects/JavaScript/proto/fbe.js:1283–1290  ·  view source on GitHub ↗

* Set the value * @this {!FieldModelWChar} * @param {!string} value Value

(value)

Source from the content-addressed store, hash-verified

1281 * @param {!string} value Value
1282 */
1283 set (value) {
1284 console.assert(((this._buffer.offset + this.fbeOffset + this.fbeSize) <= this._buffer.size), 'Model is broken!')
1285 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1286 return
1287 }
1288
1289 this.writeWChar(this.fbeOffset, value)
1290 }
1291}
1292
1293exports.FieldModelWChar = FieldModelWChar

Callers

nothing calls this directly

Calls 1

writeWCharMethod · 0.80

Tested by

no test coverage detected