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

Method enqueueUint32

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

Source from the content-addressed store, hash-verified

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);
143 this.enqueueTxRaw(channel, 'I', bytes);
144 }
145 enqueueFloat(channel, value) {
146 let bytes = new Uint8Array(4);
147 (new DataView(bytes.buffer)).setFloat32(0, value, true);

Callers

nothing calls this directly

Calls 1

enqueueTxRawMethod · 0.95

Tested by

no test coverage detected