length

The number of valid MIDI bytes in the data field. For most MIDI events this value is usually 1, 2, or 3, but it can be longer for system-exclusive events.

Declaration

var length: UInt16