Add OutPacket interface and ByteBuf implementation

Replacement for LittleEndianWriter, GenericLittleEndianWriter,
and MaplePacketLittleEndianWriter.
This commit is contained in:
P0nk
2021-06-20 20:40:23 +02:00
parent 00abbb4acd
commit f3faee2e16
5 changed files with 107 additions and 8 deletions

View File

@@ -1,5 +1,6 @@
package net.packet;
public interface Packet {
short getHeader();
byte[] getBytes();
}