Files
VoidNet/include/NetworkBuffer.hpp
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

22 lines
303 B
C++

#ifndef NETWORK_BUFFER_HPP
#define NETWORK_BUFFER_HPP
#ifdef _MSC_VER
#pragma once
#endif
#include "Defs.hpp"
#include "Utility.hpp"
#include <vector>
struct NetworkBuffer
{
NetworkBuffer();
~NetworkBuffer();
std::vector<byte> header; // size must always be 8
std::vector<byte> body;
};
#endif