MidiMessage.toBytes

Get the raw MIDI data in a buffer data of capacity len.

struct MidiMessage
pure nothrow @nogc const
int
toBytes
(
ubyte* data
,
int len
)

Return Value

Type: int

number of returned bytes. If given < 0 len, return the number of bytes needed to return the whole message.

Meta