C# Class Granados.X11.XProtocolMessage

X protocol message builder
Show file Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
AppendByte ( byte v ) : XProtocolMessage

Appends a single byte.

AppendBytes ( byte s ) : XProtocolMessage

Appends the byte string.

AppendPaddingBytesOf ( byte s ) : XProtocolMessage

Appends the padding bytes for the specified byte string.

AppendUInt16 ( ushort v ) : XProtocolMessage

Appends a word value.

AppendUInt32 ( uint v ) : XProtocolMessage

Appends a double word value.

AsDataFragment ( ) : Granados.IO.DataFragment

Return a DataFragment that represents the message data.

Clear ( ) : XProtocolMessage

Clears the internal buffer.

XProtocolMessage ( bool bigEndian ) : System

Constructor

Method Details

AppendByte() public method

Appends a single byte.
public AppendByte ( byte v ) : XProtocolMessage
v byte byte data
return XProtocolMessage

AppendBytes() public method

Appends the byte string.
public AppendBytes ( byte s ) : XProtocolMessage
s byte byte string
return XProtocolMessage

AppendPaddingBytesOf() public method

Appends the padding bytes for the specified byte string.
public AppendPaddingBytesOf ( byte s ) : XProtocolMessage
s byte byte string
return XProtocolMessage

AppendUInt16() public method

Appends a word value.
public AppendUInt16 ( ushort v ) : XProtocolMessage
v ushort word data
return XProtocolMessage

AppendUInt32() public method

Appends a double word value.
public AppendUInt32 ( uint v ) : XProtocolMessage
v uint double word data
return XProtocolMessage

AsDataFragment() public method

Return a DataFragment that represents the message data.
public AsDataFragment ( ) : Granados.IO.DataFragment
return Granados.IO.DataFragment

Clear() public method

Clears the internal buffer.
public Clear ( ) : XProtocolMessage
return XProtocolMessage

XProtocolMessage() public method

Constructor
public XProtocolMessage ( bool bigEndian ) : System
bigEndian bool specifies that the byte-order is big-endian
return System