Function serde_osc::de::from_slice [] [src]

pub fn from_slice<'de, T>(slice: &[u8]) -> ResultE<T> where
    T: Deserialize<'de>, 

Deserialize an OSC packet from a &[u8] type. This is a wrapper around the from_read function. Pairs nicely with ser::to_vec, as Vec is coercable to &[u8].