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
14 lines
249 B
C++
14 lines
249 B
C++
#include "Utility.hpp"
|
|
|
|
#include <iostream>
|
|
|
|
int main()
|
|
{
|
|
std::vector<byte> bytes = Utility::BitConverter::FromInt32(50000);
|
|
int32 integer = Utility::BitConverter::ToInt32(bytes);
|
|
std::cout << integer << std::endl;
|
|
std::cin.get();
|
|
return 0;
|
|
}
|
|
|