Trait apres::MIDIBytes[][src]

pub trait MIDIBytes {
    fn as_bytes(&self) -> Vec<u8>;
fn from_bytes(
        bytes: &mut Vec<u8>,
        default_byte: u8
    ) -> Result<Self, ApresError>
    where
        Self: Sized
; }

Required methods

fn as_bytes(&self) -> Vec<u8>[src]

fn from_bytes(bytes: &mut Vec<u8>, default_byte: u8) -> Result<Self, ApresError> where
    Self: Sized
[src]

Loading content...

Implementors

impl MIDIBytes for MIDIEvent[src]

fn as_bytes(&self) -> Vec<u8>[src]

fn from_bytes(
    bytes: &mut Vec<u8>,
    default_byte: u8
) -> Result<MIDIEvent, ApresError>
[src]

Loading content...