* Get the value * @this {!FieldModelEnumTyped} * @returns {!object} Result value and its size
()
| 438 | * @returns {!object} Result value and its size |
| 439 | */ |
| 440 | get () { |
| 441 | if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) { |
| 442 | return { value: new EnumTyped(), size: 0 } |
| 443 | } |
| 444 | |
| 445 | return { value: new EnumTyped(this.readUInt8(this.fbeOffset)), size: this.fbeSize } |
| 446 | } |
| 447 | |
| 448 | /** |
| 449 | * Set the value |