MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / enqueueInt32

Method enqueueInt32

modules/drivers/sakuraio/sakuraio.js:135–139  ·  view source on GitHub ↗
(channel, value)

Source from the content-addressed store, hash-verified

133 this.execute(CMD.RX_CLEAR);
134 }
135 enqueueInt32(channel, value) {
136 let bytes = new Uint8Array(4);
137 (new DataView(bytes.buffer)).setInt32(0, value, true);
138 this.enqueueTxRaw(channel, 'i', bytes);
139 }
140 enqueueUint32(channel, value) {
141 let bytes = new Uint8Array(4);
142 (new DataView(bytes.buffer)).setUint32(0, value, true);

Callers 1

main.jsFile · 0.80

Calls 1

enqueueTxRawMethod · 0.95

Tested by

no test coverage detected