C# Class Granados.X11.XDataReader

Data reader for the X protocol message
ファイルを表示 Open project: poderosaproject/poderosa Class Usage Examples

Public Methods

Method Description
ReadBytes ( byte buff, int offset, int length ) : byte[]

Reads byte string.

ReadUInt16 ( byte buff, int offset ) : ushort

Reads a word value.

ReadUInt32 ( byte buff, int offset ) : uint

Reads a double word value.

XDataReader ( bool bigEndian ) : System

Constructor

Method Details

ReadBytes() public method

Reads byte string.
public ReadBytes ( byte buff, int offset, int length ) : byte[]
buff byte buffer
offset int index where the data is read
length int lengt of bytes to read
return byte[]

ReadUInt16() public method

Reads a word value.
public ReadUInt16 ( byte buff, int offset ) : ushort
buff byte buffer
offset int index where the data is read
return ushort

ReadUInt32() public method

Reads a double word value.
public ReadUInt32 ( byte buff, int offset ) : uint
buff byte buffer
offset int index where the data is read
return uint

XDataReader() public method

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