C# Class Heijden.DNS.RecordReader

Afficher le fichier Open project: drorgl/MSDNSWebAdmin Class Usage Examples

Méthodes publiques

Méthode Description
ReadByte ( ) : byte

Read a byte from record

ReadBytes ( int intLength ) : byte[]

read a specified number of bytes from record

ReadChar ( ) : char

Read a char from record

ReadDomainName ( ) : string

read domain name from record, expanding compression if applied

ReadRecord ( Type type ) : Record

reads a record type of Record*

ReadString ( ) : string

reads a string from record

ReadUInt16 ( ) : UInt16

read uint16 (two bytes)

ReadUInt16 ( int offset ) : UInt16

read uint16 (two bytes)

ReadUInt32 ( ) : UInt32

read 4 bytes from record

RecordReader ( byte data ) : System
RecordReader ( byte data, int Position ) : System

Initialize with data and starting position

Method Details

ReadByte() public méthode

Read a byte from record
public ReadByte ( ) : byte
Résultat byte

ReadBytes() public méthode

read a specified number of bytes from record
public ReadBytes ( int intLength ) : byte[]
intLength int
Résultat byte[]

ReadChar() public méthode

Read a char from record
public ReadChar ( ) : char
Résultat char

ReadDomainName() public méthode

read domain name from record, expanding compression if applied
public ReadDomainName ( ) : string
Résultat string

ReadRecord() public méthode

reads a record type of Record*
public ReadRecord ( Type type ) : Record
type System.Type
Résultat Record

ReadString() public méthode

reads a string from record
public ReadString ( ) : string
Résultat string

ReadUInt16() public méthode

read uint16 (two bytes)
public ReadUInt16 ( ) : UInt16
Résultat System.UInt16

ReadUInt16() public méthode

read uint16 (two bytes)
public ReadUInt16 ( int offset ) : UInt16
offset int advance position by
Résultat System.UInt16

ReadUInt32() public méthode

read 4 bytes from record
public ReadUInt32 ( ) : UInt32
Résultat System.UInt32

RecordReader() public méthode

public RecordReader ( byte data ) : System
data byte
Résultat System

RecordReader() public méthode

Initialize with data and starting position
public RecordReader ( byte data, int Position ) : System
data byte
Position int starting position
Résultat System