Expand description

Provides a decoding method for OSC packets.

Constants

Common MTU size for ethernet

Functions

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.

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.

Takes a bytes slice representing a UDP packet and returns the OSC packet as well as a slice of any bytes remaining after the OSC packet.