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:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
<EFBFBD><EFBFBD>
|
||||
Binary file not shown.
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user