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

Method receive

examples/drivers/lora-ui/main.js:53–57  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

51 this.update();
52 }
53 receive(buffer) {
54 this.received += 1;
55 this.messageReceived = this.decoder.decode(buffer);
56 this.update();
57 }
58 update() {
59 const {render, font, black, white} = this;
60 render.begin();

Callers 1

constructorMethod · 0.95

Calls 2

updateMethod · 0.95
decodeMethod · 0.65

Tested by

no test coverage detected