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

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