C# Class Granados.X11.XDataReader

Data reader for the X protocol message
Afficher le fichier Open project: poderosaproject/poderosa Class Usage Examples

Méthodes publiques

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

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
Résultat byte[]

ReadUInt16() public méthode

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

ReadUInt32() public méthode

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

XDataReader() public méthode

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