hosc-0.16: Haskell Open Sound Control

Safe HaskellNone
LanguageHaskell98

Sound.OSC.Coding.Class

Description

A type-class to provide coding operations to different data types using the same function names.

Synopsis

Documentation

class Coding a where Source #

Converting from and to binary packet representations.

Minimal complete definition

encodePacket, decodePacket

Methods

encodePacket Source #

Arguments

:: Packet 
-> a

Decode an OSC packet.

decodePacket Source #

Arguments

:: a 
-> Packet

Encode an OSC packet.