Refactored Player and NPC packets
This commit is contained in:
1 parent
22587cdb5a
commit
65b84fdeaa
11 files changed
+2196
-2044
No files matched your search
@@ -301,6 +301,10 @@ public class Buffer extends DoublyLinkedList.Node {
|
||||
position += len;
|
||||
}
|
||||
|
||||
public void read(byte[] dst) {
|
||||
read(dst,0,dst.length);
|
||||
}
|
||||
|
||||
public void readReversed(byte[] dst, int off, int len) {
|
||||
for (int i = (off + len) - 1; i >= off; i--) {
|
||||
dst[i] = data[position++];
|
||||
|
||||
Reference in new issue
Block a user