(channel, value)
| 148 | this.enqueueTxRaw(channel, 'f', bytes); |
| 149 | } |
| 150 | enqueueDouble(channel, value) { |
| 151 | let bytes = new Uint8Array(8); |
| 152 | (new DataView(bytes.buffer)).setFloat64(0, value, true); |
| 153 | this.enqueueTxRaw(channel, 'd', bytes); |
| 154 | } |
| 155 | enqueueUint8Array(channel, value) { |
| 156 | if (8 !== value.length) throw new Error("must be 8 bytes"); |
| 157 | this.enqueueTxRaw(channel, 'b', value); |
nothing calls this directly
no test coverage detected