Skip to main content

parse_into

Function parse_into 

Source
pub fn parse_into(
    bytes: &[u8],
    out: &mut [MidiMessage],
) -> Result<usize, AudioError>
Expand description

Convenience: parse into a caller-provided output buffer, returning the count written. Errors AudioError::OutputBufferTooSmall if more messages are produced than fit. Zero-alloc.