Fixed ByteBuffer not being initialized
This commit is contained in:
parent
b08052def9
commit
e624cfe7af
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||||||
namespace Network.PacketHandling {
|
namespace Network.PacketHandling {
|
||||||
public class PacketBuffer {
|
public class PacketBuffer {
|
||||||
|
|
||||||
private List<byte> ByteList;
|
private List<byte> ByteList = new List<byte>();
|
||||||
private int ReadCounter = 0;
|
private int ReadCounter = 0;
|
||||||
|
|
||||||
public byte[] ByteBuffer { get { return ByteList.ToArray(); } }
|
public byte[] ByteBuffer { get { return ByteList.ToArray(); } }
|
||||||
|
Loading…
Reference in New Issue
Block a user