nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
framing.cc File Reference
#include "protocol/framing.h"
#include <cstdint>
#include <string>

Go to the source code of this file.

Namespaces

namespace  nanommo

Functions

std::string nanommo::Header (std::size_t size)
std::string nanommo::Frame (const google::protobuf::MessageLite &message)
 The size goes in front, as four bytes in network byte order.