Skip to main content

decode

Function decode 

Source
pub fn decode(buf: &[u8]) -> Result<OscPacket, Error>
Expand description

Decode a byte slice into an OscPacket.

Automatically detects whether the buffer is a message (starts with /) or a bundle (starts with #bundle\0).