Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
binary.hpp File Reference

Little-endian binary serialization with bounds-checked reads, for network packets. More...

#include <aegis2d/net/export.hpp>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::net::BinaryWriter
 Writes values field by field into a growing byte buffer. More...
 
class  aegis2d::net::BinaryReader
 Reads values written by BinaryWriter from untrusted bytes, never past their end. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::net
 Binary serialization, UDP/TCP sockets and the network thread.
 

Detailed Description

Little-endian binary serialization with bounds-checked reads, for network packets.