@UnstableApi public interface DnsRecordDecoder
| 限定符和类型 | 字段和说明 | 
|---|---|
static DnsRecordDecoder | 
DEFAULT  | 
| 限定符和类型 | 方法和说明 | 
|---|---|
DnsQuestion | 
decodeQuestion(ByteBuf in)
Decodes a DNS question into its object representation. 
 | 
<T extends DnsRecord> | 
decodeRecord(ByteBuf in)
Decodes a DNS record into its object representation. 
 | 
static final DnsRecordDecoder DEFAULT
DnsQuestion decodeQuestion(ByteBuf in) throws java.lang.Exception
in - the input buffer which contains a DNS question at its reader indexjava.lang.Exception<T extends DnsRecord> T decodeRecord(ByteBuf in) throws java.lang.Exception
in - the input buffer which contains a DNS record at its reader indexnull if there are not enough data in the input bufferjava.lang.Exception