C# Class hds.PacketContent

Mostra file Open project: hdneo/mxo-hd Class Usage Examples

Public Methods

Method Description
PacketContent ( ) : System
addByte ( byte value ) : void
addByteArray ( byte array ) : void
addDouble ( double value, int reversed ) : void
addDoubleLtVector3d ( double x, double y, double z ) : void
addFloat ( float value, int reversed ) : void
addFloatLtVector3f ( float x, float y, float z ) : void
addHexBytes ( String hexbytes ) : void
addInt32 ( Int32 value, int reversed ) : void
addSizedString ( string value ) : void
addSizedTerminatedString ( string value ) : void
addString ( string value ) : void
addStringWithFixedSized ( string value, int size ) : void
addUint16 ( UInt16 value, int reversed ) : void
addUint32 ( UInt32 value, int reversed ) : void
addUintShort ( UInt16 value ) : void
returnFinalPacket ( ) : byte[]

Method Details

PacketContent() public method

public PacketContent ( ) : System
return System

addByte() public method

public addByte ( byte value ) : void
value byte
return void

addByteArray() public method

public addByteArray ( byte array ) : void
array byte
return void

addDouble() public method

public addDouble ( double value, int reversed ) : void
value double
reversed int
return void

addDoubleLtVector3d() public method

public addDoubleLtVector3d ( double x, double y, double z ) : void
x double
y double
z double
return void

addFloat() public method

public addFloat ( float value, int reversed ) : void
value float
reversed int
return void

addFloatLtVector3f() public method

public addFloatLtVector3f ( float x, float y, float z ) : void
x float
y float
z float
return void

addHexBytes() public method

public addHexBytes ( String hexbytes ) : void
hexbytes String
return void

addInt32() public method

public addInt32 ( Int32 value, int reversed ) : void
value System.Int32
reversed int
return void

addSizedString() public method

public addSizedString ( string value ) : void
value string
return void

addSizedTerminatedString() public method

public addSizedTerminatedString ( string value ) : void
value string
return void

addString() public method

public addString ( string value ) : void
value string
return void

addStringWithFixedSized() public method

public addStringWithFixedSized ( string value, int size ) : void
value string
size int
return void

addUint16() public method

public addUint16 ( UInt16 value, int reversed ) : void
value System.UInt16
reversed int
return void

addUint32() public method

public addUint32 ( UInt32 value, int reversed ) : void
value System.UInt32
reversed int
return void

addUintShort() public method

public addUintShort ( UInt16 value ) : void
value System.UInt16
return void

returnFinalPacket() public method

public returnFinalPacket ( ) : byte[]
return byte[]