| Package | Description |
|---|---|
| com.github.steveice10.packetlib.io.buffer | |
| com.github.steveice10.packetlib.io.stream | |
| com.github.steveice10.packetlib.packet | |
| com.github.steveice10.packetlib.tcp.io |
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBufferNetInput
A NetInput implementation using a ByteBuffer as a backend.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StreamNetInput
A NetInput implementation using an InputStream as a backend.
|
| Modifier and Type | Method and Description |
|---|---|
T |
PacketFactory.construct(NetInput input)
|
Packet |
PacketProtocol.createIncomingPacket(int id,
NetInput in)
Creates a new instance of an incoming packet with the given id and read the incoming input.
|
Packet |
PacketProtocol.createOutgoingPacket(int id,
NetInput in)
Creates a new instance of an outgoing packet with the given id and read the outgoing input.
|
int |
DefaultPacketHeader.readLength(NetInput in,
int available) |
int |
PacketHeader.readLength(NetInput in,
int available)
Reads the length of a packet from the given input.
|
int |
DefaultPacketHeader.readPacketId(NetInput in) |
int |
PacketHeader.readPacketId(NetInput in)
Reads the ID of a packet from the given input.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteBufNetInput
A NetInput implementation using a ByteBuf as a backend.
|
Copyright © 2021. All rights reserved.