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.
|
Record.TYPE getType()
byte[] toByteArray()
void parse(DataInputStream dis, byte[] data, int length) throws IOException
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–2020. All rights reserved.