pub fn new(
        frame_offset: MidiFrameOffset,
        midi_message: [u8; Self::MAX_LENGTH],
        size: u32,
    ) -> Self {
        Self {
            frame_offset: frame_offset.to_raw(),
            size: size as _,
            midi_message,
        }
    }
/// Creates a long MIDI event directly from an owned byte array.
///
/// Size needs to be given because the actual message length is probably lower than the maximum
/// size of a long message.  
Creates a long MIDI event directly from an owned byte array.
Size needs to be given because the actual message length is probably lower than the maximum
size of a long message.
Creates a long MIDI event directly from an owned byte array . Size needs to be given because the actual message length is probably lower than the maximum size of a long message .
pub fn new(
        frame_offset: MidiFrameOffset,
        midi_message: [u8; Self::MAX_LENGTH],
        size: u32,
    ) -> Self {
        Self {
            frame_offset: frame_offset.to_raw(),
            size: size as _,
            midi_message,
        }
    }
pub fn new ( frame_offset : MidiFrameOffset , midi_message : [ u8 ; Self :: MAX_LENGTH ] , size : u32 , ) -> Self { Self { frame_offset : frame_offset . to_raw ( ) , size : size as _ , midi_message , } }
Creates a long MIDI event directly from an owned byte array.
Creates a long MIDI event directly from an owned byte array .
frame_offset
MidiFrameOffset
midi_message
[u8; Self::MAX_LENGTH]
size
u32
frame_offset
MidiFrameOffset
midi_message
[u8; Self::MAX_LENGTH]
size
u32