* Get the value * @this {!FieldModelEnumUInt16} * @param {EnumUInt16=} defaults Default value, defaults is new EnumUInt16() * @returns {!EnumUInt16} Result value
(defaults = new EnumUInt16())
| 1476 | * @returns {!EnumUInt16} Result value |
| 1477 | */ |
| 1478 | get (defaults = new EnumUInt16()) { |
| 1479 | if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) { |
| 1480 | return defaults |
| 1481 | } |
| 1482 | |
| 1483 | return new EnumUInt16(this.readUInt16(this.fbeOffset)) |
| 1484 | } |
| 1485 | |
| 1486 | /** |
| 1487 | * Set the value |
nothing calls this directly
no test coverage detected