Interface DnsRecordEncoder

    • Method Detail

      • encodeQuestion

        void encodeQuestion​(DnsQuestion question,
                            io.netty.buffer.ByteBuf out)
                     throws Exception
        Encodes a DnsQuestion.
        Parameters:
        out - the output buffer where the encoded question will be written to
        Throws:
        Exception
      • encodeRecord

        void encodeRecord​(DnsRecord record,
                          io.netty.buffer.ByteBuf out)
                   throws Exception
        Encodes a DnsRecord.
        Parameters:
        out - the output buffer where the encoded record will be written to
        Throws:
        Exception