C# Class DNS.Protocol.Question

Inheritance: IMessageEntry
显示文件 Open project: greggman/hft-unity-gamepad Class Usage Examples

Public Methods

Method Description
FromArray ( byte message, int offset ) : Question
FromArray ( byte message, int offset, int &endOffset ) : Question
GetAllFromArray ( byte message, int offset, int questionCount ) : IList
GetAllFromArray ( byte message, int offset, int questionCount, int &endOffset ) : IList
Question ( Domain domain, RecordType type = RecordType.A, RecordClass klass = RecordClass.IN ) : System.Collections.Generic
ToArray ( ) : byte[]
ToString ( ) : string

Method Details

FromArray() public static method

public static FromArray ( byte message, int offset ) : Question
message byte
offset int
return Question

FromArray() public static method

public static FromArray ( byte message, int offset, int &endOffset ) : Question
message byte
offset int
endOffset int
return Question

GetAllFromArray() public static method

public static GetAllFromArray ( byte message, int offset, int questionCount ) : IList
message byte
offset int
questionCount int
return IList

GetAllFromArray() public static method

public static GetAllFromArray ( byte message, int offset, int questionCount, int &endOffset ) : IList
message byte
offset int
questionCount int
endOffset int
return IList

Question() public method

public Question ( Domain domain, RecordType type = RecordType.A, RecordClass klass = RecordClass.IN ) : System.Collections.Generic
domain Domain
type RecordType
klass RecordClass
return System.Collections.Generic

ToArray() public method

public ToArray ( ) : byte[]
return byte[]

ToString() public method

public ToString ( ) : string
return string