@UnstableApi
public interface DnsRecordEncoder
DnsRecord
编码为二进制表示形式。
DatagramDnsQueryEncoder
Modifier and Type | Field and Description |
---|---|
static DnsRecordEncoder |
DEFAULT |
Modifier and Type | Method and Description |
---|---|
void |
encodeQuestion(DnsQuestion question, ByteBuf out)
编码 DnsQuestion 。
|
void |
encodeRecord(DnsRecord record, ByteBuf out)
编码 DnsRecord 。
|
static final DnsRecordEncoder DEFAULT
void encodeQuestion(DnsQuestion question, ByteBuf out) throws java.lang.Exception
DnsQuestion
。
out
- 编码问题将写入的输出缓冲区
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.