* Get the value * @this {!FieldModelFlagsTyped} * @param {FlagsTyped=} defaults Default value, defaults is new FlagsTyped() * @returns {!FlagsTyped} Result value
(defaults = new FlagsTyped())
| 1156 | * @returns {!FlagsTyped} Result value |
| 1157 | */ |
| 1158 | get (defaults = new FlagsTyped()) { |
| 1159 | if ((this._buffer.offset + this.fbeOffset + this.fbeSize) > this._buffer.size) { |
| 1160 | return defaults |
| 1161 | } |
| 1162 | |
| 1163 | return new FlagsTyped(this.readUInt64(this.fbeOffset).toNumber()) |
| 1164 | } |
| 1165 | |
| 1166 | /** |
| 1167 | * Set the value |
nothing calls this directly
no test coverage detected