C# Class OSC.NET.OSCPacket

OSCPacket
显示文件 Open project: Ractiv/touch_plus_source_code Class Usage Examples

Protected Properties

Property Type Description
address string
binaryData byte[]
values System.Collections.ArrayList

Public Methods

Method Description
Append ( object value ) : void
IsBundle ( ) : bool
OSCPacket ( ) : System
Unpack ( byte bytes ) : OSCPacket
Unpack ( byte bytes, int &start, int end ) : OSCPacket

Protected Methods

Method Description
addBytes ( ArrayList data, byte bytes ) : void
pack ( ) : void
packDouble ( double value ) : byte[]
packFloat ( float value ) : byte[]
packInt ( int value ) : byte[]
packLong ( long value ) : byte[]
packString ( string value ) : byte[]
padNull ( ArrayList data ) : void
swapEndian ( byte data ) : byte[]
unpackDouble ( byte bytes, int &start ) : double
unpackFloat ( byte bytes, int &start ) : float
unpackInt ( byte bytes, int &start ) : int
unpackLong ( byte bytes, int &start ) : long
unpackString ( byte bytes, int &start ) : string

Method Details

Append() public abstract method

public abstract Append ( object value ) : void
value object
return void

IsBundle() public abstract method

public abstract IsBundle ( ) : bool
return bool

OSCPacket() public method

public OSCPacket ( ) : System
return System

Unpack() public static method

public static Unpack ( byte bytes ) : OSCPacket
bytes byte
return OSCPacket

Unpack() public static method

public static Unpack ( byte bytes, int &start, int end ) : OSCPacket
bytes byte
start int
end int
return OSCPacket

addBytes() protected static method

protected static addBytes ( ArrayList data, byte bytes ) : void
data System.Collections.ArrayList
bytes byte
return void

pack() protected abstract method

protected abstract pack ( ) : void
return void

packDouble() protected static method

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

packFloat() protected static method

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

packInt() protected static method

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

packLong() protected static method

protected static packLong ( long value ) : byte[]
value long
return byte[]

packString() protected static method

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

padNull() protected static method

protected static padNull ( ArrayList data ) : void
data System.Collections.ArrayList
return void

swapEndian() protected static method

protected static swapEndian ( byte data ) : byte[]
data byte
return byte[]

unpackDouble() protected static method

protected static unpackDouble ( byte bytes, int &start ) : double
bytes byte
start int
return double

unpackFloat() protected static method

protected static unpackFloat ( byte bytes, int &start ) : float
bytes byte
start int
return float

unpackInt() protected static method

protected static unpackInt ( byte bytes, int &start ) : int
bytes byte
start int
return int

unpackLong() protected static method

protected static unpackLong ( byte bytes, int &start ) : long
bytes byte
start int
return long

unpackString() protected static method

protected static unpackString ( byte bytes, int &start ) : string
bytes byte
start int
return string

Property Details

address protected_oe property

protected string address
return string

binaryData protected_oe property

protected byte[] binaryData
return byte[]

values protected_oe property

protected ArrayList,System.Collections values
return System.Collections.ArrayList