pub fn encode_mcoded7(data: &[u8], out: &mut [u8]) -> usizeExpand description
Encode data using mcoded7 (MIDI-CI spec): every 7 input bytes → 8 output bytes.
The first byte of each group carries the high bits (bit 7) of the following 7 bytes.
Returns the number of bytes written to out.