public interface PacketIF
Modifier and Type | Method and Description |
---|---|
short |
getHeader()
Get the header of this packet
|
void |
reconstruct(java.nio.ByteBuffer source)
Reconstruct this PacketIF from the given ByteBuffer
|
java.nio.ByteBuffer |
toBytes()
Get the contents of this PacketIF as a ByteBuffer
|
short getHeader()
void reconstruct(java.nio.ByteBuffer source)
source
- The ByteBuffer to reconstruct this PacketIF fromjava.nio.ByteBuffer toBytes()