C# Class SharpOSC.OscPacket

Afficher le fichier Open project: ValdemarOrn/SharpOSC Class Usage Examples

Méthodes publiques

Méthode Description
GetBytes ( ) : byte[]
GetPacket ( byte OscData ) : OscPacket

Méthodes protégées

Méthode 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

Méthode 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 méthode

public abstract GetBytes ( ) : byte[]
Résultat byte[]

GetPacket() public static méthode

public static GetPacket ( byte OscData ) : OscPacket
OscData byte
Résultat OscPacket

setBlob() protected static méthode

protected static setBlob ( byte value ) : byte[]
value byte
Résultat byte[]

setChar() protected static méthode

protected static setChar ( char value ) : byte[]
value char
Résultat byte[]

setDouble() protected static méthode

protected static setDouble ( double value ) : byte[]
value double
Résultat byte[]

setFloat() protected static méthode

protected static setFloat ( float value ) : byte[]
value float
Résultat byte[]

setInt() protected static méthode

protected static setInt ( int value ) : byte[]
value int
Résultat byte[]

setLong() protected static méthode

protected static setLong ( System.Int64 value ) : byte[]
value System.Int64
Résultat byte[]

setMidi() protected static méthode

protected static setMidi ( Midi value ) : byte[]
value Midi
Résultat byte[]

setRGBA() protected static méthode

protected static setRGBA ( RGBA value ) : byte[]
value RGBA
Résultat byte[]

setString() protected static méthode

protected static setString ( string value ) : byte[]
value string
Résultat byte[]

setULong() protected static méthode

protected static setULong ( System.UInt64 value ) : byte[]
value System.UInt64
Résultat byte[]