Tried to implement some Utility::Bitconverter methods but it didnt worked

InternalTags cant be higher than 255 because they will be converted to byte
added new ToString method in Utility::StringConverter
Server now closes the connection better
This commit is contained in:
xX-TheDoctor-Xx
2016-08-12 10:46:36 +01:00
parent bcf8ea1919
commit e3de0a1489
24 changed files with 35 additions and 32 deletions

View File

@ -1 +0,0 @@
<EFBFBD><EFBFBD>

View File

@ -4,9 +4,10 @@
int main()
{
byte *bytes = Utility::BitConverter::FromUint8(20);
std::cout << Utility::BitConverter::ToUint8(bytes, 0) << std::endl;
getchar();
std::vector<byte> bytes = Utility::BitConverter::FromInt32(50000);
int32 integer = Utility::BitConverter::ToInt32(bytes);
std::cout << integer << std::endl;
std::cin.get();
return 0;
}