NetworkBuffer now has a fixed header value of 8

Implemented NetworkMessage EncodeMessage
This commit is contained in:
xX-TheDoctor-Xx
2016-07-31 01:51:00 +01:00
parent bb6a2a25d3
commit e677fdeb59
2 changed files with 19 additions and 2 deletions

View File

@ -14,7 +14,7 @@ struct NetworkBuffer
NetworkBuffer();
~NetworkBuffer();
std::vector<byte> header; // contains the size of the body
std::vector<byte> header = Utility::BitConverter::FromUint32(8); // contains the size of the body
std::vector<byte> body;
};