Package de.measite.minidns.record
Interface Data
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Record.TYPE
getType()
The payload type.void
parse(java.io.DataInputStream dis, byte[] data, int length)
Parse this payload.byte[]
toByteArray()
Binary representation of this payload.
-
-
-
Method Detail
-
getType
Record.TYPE getType()
The payload type.- Returns:
- The payload type.
-
toByteArray
byte[] toByteArray()
Binary representation of this payload.- Returns:
- The binary representation of this payload.
-
parse
void parse(java.io.DataInputStream dis, byte[] data, int length) throws java.io.IOException
Parse this payload.- Parameters:
dis
- The input stream.data
- The plain data (needed for name cross references).length
- The payload length.- Throws:
java.io.IOException
- on io error (read past paket boundary).
-
-