pub fn decode(buf: &[u8]) -> Result<OscPacket, Error>
Decode a byte slice into an OscPacket.
OscPacket
Automatically detects whether the buffer is a message (starts with /) or a bundle (starts with #bundle\0).
/
#bundle\0