The module boing.net.osc provides methods and classes for
handling OSC formatted messages.
Encoder and Decoder classes provide a standard interface for the OSC
encoding.
-
class boing.net.osc.Encoder
The Encoder is able to encode OSC packet objects into byte strings.
-
encode(obj)
Return the bytestring obtained from serializing the OSC
packet obj.
-
reset()
NOP method.
-
class boing.net.osc.Decoder
The Decoder is able to convert valid byte string objects into
OSC Packet objects.
-
decode(obj)
Return the list of OSC packets decoded from the bytestring
obj.
-
reset()
Reset the slip internal buffer.