Constructor and Description |
---|
Packet(Buffer buffer)
creates a new Packet, based on a buffer.
|
Modifier and Type | Method and Description |
---|---|
void |
reset()
resets the buffer's index to point to the start of the payload.
|
public Packet(Buffer buffer)
buffer
- the Buffer to be used for the packets data.This is an inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.