Safe Haskell | None |
---|---|
Language | Haskell2010 |
Base-level encode function for OSC packets (slow).
For ordinary use see Builder
.
Synopsis
- extend :: Word8 -> ByteString -> ByteString
- encode_datum :: Datum -> ByteString
- encodeMessage :: Message -> ByteString
- encode_message_blob :: Message -> Datum
- encodeBundle :: Bundle -> ByteString
- encodePacket :: Packet -> ByteString
Documentation
extend :: Word8 -> ByteString -> ByteString Source #
Align byte string, if required.
encode_datum :: Datum -> ByteString Source #
Encode OSC Datum
.
MIDI: Bytes from MSB to LSB are: port id, status byte, data1, data2.
encodeMessage :: Message -> ByteString Source #
Encode OSC Message
.
encodeBundle :: Bundle -> ByteString Source #
Encode OSC Bundle
.
encodePacket :: Packet -> ByteString Source #
Encode OSC Packet
.