Remove unused inneficient method (#56)

This commit is contained in:
Paul Pacheco 2018-10-08 09:38:25 -05:00 committed by vis2k
parent fdb0799332
commit 10e413e640

View File

@ -67,17 +67,6 @@ public class NetworkMessage
public NetworkConnection conn; public NetworkConnection conn;
public NetworkReader reader; public NetworkReader reader;
public static string Dump(byte[] payload, int sz)
{
string outStr = "[";
for (int i = 0; i < sz; i++)
{
outStr += (payload[i] + " ");
}
outStr += "]";
return outStr;
}
public TMsg ReadMessage<TMsg>() where TMsg : MessageBase, new() public TMsg ReadMessage<TMsg>() where TMsg : MessageBase, new()
{ {
var msg = new TMsg(); var msg = new TMsg();