C# 클래스 Heijden.DNS.RecordReader

파일 보기 프로젝트 열기: drorgl/MSDNSWebAdmin 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

ReadByte() 공개 메소드

Read a byte from record
public ReadByte ( ) : byte
리턴 byte

ReadBytes() 공개 메소드

read a specified number of bytes from record
public ReadBytes ( int intLength ) : byte[]
intLength int
리턴 byte[]

ReadChar() 공개 메소드

Read a char from record
public ReadChar ( ) : char
리턴 char

ReadDomainName() 공개 메소드

read domain name from record, expanding compression if applied
public ReadDomainName ( ) : string
리턴 string

ReadRecord() 공개 메소드

reads a record type of Record*
public ReadRecord ( Type type ) : Record
type System.Type
리턴 Record

ReadString() 공개 메소드

reads a string from record
public ReadString ( ) : string
리턴 string

ReadUInt16() 공개 메소드

read uint16 (two bytes)
public ReadUInt16 ( ) : UInt16
리턴 System.UInt16

ReadUInt16() 공개 메소드

read uint16 (two bytes)
public ReadUInt16 ( int offset ) : UInt16
offset int advance position by
리턴 System.UInt16

ReadUInt32() 공개 메소드

read 4 bytes from record
public ReadUInt32 ( ) : UInt32
리턴 System.UInt32

RecordReader() 공개 메소드

public RecordReader ( byte data ) : System
data byte
리턴 System

RecordReader() 공개 메소드

Initialize with data and starting position
public RecordReader ( byte data, int Position ) : System
data byte
Position int starting position
리턴 System