hosc-0.11.1: Haskell Open Sound Control

Safe HaskellNone

Sound.OpenSoundControl.Coding.Decode.Base

Description

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

Synopsis

Documentation

decodeOSC :: ByteString -> OSCSource

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 decodeOSC b == Message "/g_free" [Int 0]