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

Bit-level serialization with bounds-checked reads, for compact network payloads. More...

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

Go to the source code of this file.

Classes

class  aegis2d::net::BitWriter
 Writes values of any width from 0 to 64 bits into a growing byte buffer. More...
 
class  aegis2d::net::BitReader
 Reads values written by BitWriter 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

Bit-level serialization with bounds-checked reads, for compact network payloads.