hosc-0.14.1: Haskell Open Sound Control

Safe HaskellNone

Sound.OSC.Coding.Decode.Base

Description

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

Synopsis

Documentation

decodePacket :: ByteString -> PacketSource

Decode an OSC Packet.

 let b = B.pack [47,103,95,102,114,101,101,0,44,105,0,0,0,0,0,0]
 in decodePacket b == Message "/g_free" [Int 0]