Implementation MIDI_Head read_from_buffer