@UnstableApi public interface DnsRecordEncoder
DnsRecord
into binary representation.DatagramDnsQueryEncoder
限定符和类型 | 字段和说明 |
---|---|
static DnsRecordEncoder |
DEFAULT |
限定符和类型 | 方法和说明 |
---|---|
void |
encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
void |
encodeRecord(DnsRecord record,
ByteBuf out)
Encodes a
DnsRecord . |
static final DnsRecordEncoder DEFAULT
void encodeQuestion(DnsQuestion question, ByteBuf out) throws java.lang.Exception
DnsQuestion
.out
- the output buffer where the encoded question will be written tojava.lang.Exception