Function nannou_osc::decode[][src]

pub fn decode(bytes: &[u8]) -> Result<Packet, Error>
Expand description

Decodes the given slice of bytes into a Packet.

Returns an Error if the slice does not contain a valid OSC packet.