hosc-0.18: Haskell Open Sound Control

Safe HaskellNone
LanguageHaskell2010

Sound.OSC.Coding.Decode.Base

Description

Base-level decode function for OSC packets. For ordinary use see Binary.

Synopsis

Documentation

decodePacket :: ByteString -> Packet Source #

Decode an OSC Packet.

let b = B.pack [47,103,95,102,114,101,101,0,44,105,0,0,0,0,0,0]
decodePacket b == Packet_Message (Message "/g_free" [Int32 0])