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

Method set

projects/JavaScript/proto/fbe.js:1239–1246  ·  view source on GitHub ↗

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

(value)

Source from the content-addressed store, hash-verified

1237 * @param {!string} value Value
1238 */
1239 set (value) {
1240 console.assert(((this._buffer.offset + this.fbeOffset + this.fbeSize) <= this._buffer.size), 'Model is broken!')
1241 if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) {
1242 return
1243 }
1244
1245 this.writeChar(this.fbeOffset, value)
1246 }
1247}
1248
1249exports.FieldModelChar = FieldModelChar

Callers

nothing calls this directly

Calls 1

writeCharMethod · 0.80

Tested by

no test coverage detected