Files
VoidNet/TestsVS/Tests/Tests.cpp
xX-TheDoctor-Xx e3de0a1489 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
2016-08-12 10:46:36 +01:00

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;
}