* Get the value * @this {!FieldModelEnumInt16} * @returns {!object} Result value and its size
()
| 1321 | * @returns {!object} Result value and its size |
| 1322 | */ |
| 1323 | get () { |
| 1324 | if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) { |
| 1325 | return { value: new EnumInt16(), size: 0 } |
| 1326 | } |
| 1327 | |
| 1328 | return { value: new EnumInt16(this.readInt16(this.fbeOffset)), size: this.fbeSize } |
| 1329 | } |
| 1330 | |
| 1331 | /** |
| 1332 | * Set the value |