MCPcopy Create free account
hub / github.com/Marus/cortex-debug / rxWriteByte

Method rxWriteByte

src/frontend/swo/core.ts:71–77  ·  view source on GitHub ↗
(byte: number)

Source from the content-addressed store, hash-verified

69 }
70
71 private rxWriteByte(byte: number): boolean {
72 if (this.rxCount < this.rxBuffer.length) {
73 this.rxBuffer.writeUInt8(byte, this.rxCount);
74 this.rxCount++;
75 }
76 return this.rxCount === this.rxTargetLength;
77 }
78
79 private getRxPacket(): Packet {
80 return {

Callers 1

processByteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected