@Table(value="dnsrecord") public class DNSRecord extends Object
| Constructor and Description |
|---|
DNSRecord() |
| Modifier and Type | Method and Description |
|---|---|
static DNSRecord |
fromWire(byte[] data)
Converts a raw wire transfer format of a record to a DNS record.
|
static byte[] |
toWire(DNSRecord rec)
Converts a DNS record to a raw wire transfer format.
|
public static DNSRecord fromWire(byte[] data) throws IOException
data - The raw byte stream of a record in wire transfer format.IOExceptionpublic static byte[] toWire(DNSRecord rec) throws IOException
rec - The DNSRecord to convert.IOExceptionCopyright © 2021. All rights reserved.