pub fn decode_tcp_vec<'a>(
    msg: &'a [u8]
) -> Result<(&'a [u8], Vec<OscPacket>), OscError>
Expand description

Takes a bytes slice from a TCP stream (or any stream-based protocol) and returns a vec of all OSC packets in the slice as well as a slice of the bytes remaining after the last packet.