* Set the value * @this {!FieldModelWChar} * @param {!string} value Value * @returns {!number} Final model size
(value)
| 3377 | * @returns {!number} Final model size |
| 3378 | */ |
| 3379 | set (value) { |
| 3380 | console.assert(((this._buffer.offset + this.fbeOffset + this.fbeSize) <= this._buffer.size), 'Model is broken!') |
| 3381 | if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) { |
| 3382 | return 0 |
| 3383 | } |
| 3384 | |
| 3385 | this.writeWChar(this.fbeOffset, value) |
| 3386 | return this.fbeSize |
| 3387 | } |
| 3388 | } |
| 3389 | |
| 3390 | exports.FinalModelWChar = FinalModelWChar |
nothing calls this directly
no test coverage detected