Constructor and Description |
---|
A() |
Modifier and Type | Method and Description |
---|---|
Record.TYPE |
getType()
The payload type.
|
void |
parse(DataInputStream dis,
byte[] data,
int length)
Parse this payload.
|
byte[] |
toByteArray()
Binary representation of this payload.
|
String |
toString() |
public Record.TYPE getType()
Data
public byte[] toByteArray()
Data
toByteArray
in interface Data
public void parse(DataInputStream dis, byte[] data, int length) throws IOException
Data
parse
in interface Data
dis
- The input stream.data
- The plain data (needed for name cross references).length
- The payload length.IOException
- on io error (read past paket boundary).Copyright © 2014–2019. All rights reserved.