C# Class SharpOSC.OscPacket

Mostra file Open project: ValdemarOrn/SharpOSC Class Usage Examples

Public Methods

Method Description
GetBytes ( ) : byte[]
GetPacket ( byte OscData ) : OscPacket

Protected Methods

Method Description
setBlob ( byte value ) : byte[]
setChar ( char value ) : byte[]
setDouble ( double value ) : byte[]
setFloat ( float value ) : byte[]
setInt ( int value ) : byte[]
setLong ( System.Int64 value ) : byte[]
setMidi ( Midi value ) : byte[]
setRGBA ( RGBA value ) : byte[]
setString ( string value ) : byte[]
setULong ( System.UInt64 value ) : byte[]

Private Methods

Method Description
getAddress ( byte msg, int index ) : string
getBlob ( byte msg, int index ) : byte[]
getChar ( byte msg, int index ) : char
getDouble ( byte msg, int index ) : double
getFloat ( byte msg, int index ) : float
getInt ( byte msg, int index ) : int
getLong ( byte msg, int index ) : System.Int64
getMidi ( byte msg, int index ) : Midi
getRGBA ( byte msg, int index ) : RGBA
getString ( byte msg, int index ) : string
getTypes ( byte msg, int index ) : char[]
getULong ( byte msg, int index ) : System.UInt64
parseBundle ( byte bundle ) : OscBundle

Takes in an OSC bundle package in byte form and parses it into a more usable OscBundle object

parseMessage ( byte msg ) : OscMessage

Takes in an OSC bundle package in byte form and parses it into a more usable OscBundle object

Method Details

GetBytes() public abstract method

public abstract GetBytes ( ) : byte[]
return byte[]

GetPacket() public static method

public static GetPacket ( byte OscData ) : OscPacket
OscData byte
return OscPacket

setBlob() protected static method

protected static setBlob ( byte value ) : byte[]
value byte
return byte[]

setChar() protected static method

protected static setChar ( char value ) : byte[]
value char
return byte[]

setDouble() protected static method

protected static setDouble ( double value ) : byte[]
value double
return byte[]

setFloat() protected static method

protected static setFloat ( float value ) : byte[]
value float
return byte[]

setInt() protected static method

protected static setInt ( int value ) : byte[]
value int
return byte[]

setLong() protected static method

protected static setLong ( System.Int64 value ) : byte[]
value System.Int64
return byte[]

setMidi() protected static method

protected static setMidi ( Midi value ) : byte[]
value Midi
return byte[]

setRGBA() protected static method

protected static setRGBA ( RGBA value ) : byte[]
value RGBA
return byte[]

setString() protected static method

protected static setString ( string value ) : byte[]
value string
return byte[]

setULong() protected static method

protected static setULong ( System.UInt64 value ) : byte[]
value System.UInt64
return byte[]