MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / writeTo

Method writeTo

packages/alphatab/src/midi/MidiEvent.ts:372–376  ·  view source on GitHub ↗
(s: IWriteable)

Source from the content-addressed store, hash-verified

370 }
371
372 public override writeTo(s: IWriteable): void {
373 s.writeByte((this.channel & 0x0f) | 0xb0);
374 s.writeByte((this.controller as number) & 0xff);
375 s.writeByte(this.value & 0xff);
376 }
377
378 public override get data1(): number {
379 return this.controller as number;

Callers

nothing calls this directly

Calls 1

writeByteMethod · 0.65

Tested by

no test coverage detected