Class Engine::Network::ByteWriter¶
ClassList > Engine > Network > ByteWriter
High-performance binary buffer writer for network packet serialization.
#include <ByteStream.hpp>
Public Functions¶
| Type | Name |
|---|---|
| ByteWriter () = default |
|
| void | Clear () noexcept |
| const uint8_t * | Data () noexcept const |
| const std::vector< uint8_t > & | GetData () noexcept const |
| size_t | Size () noexcept const |
| void | Write (const T & val) |
| void | WriteBytes (const uint8_t * data, size_t size) |
| void | WriteString (const std::string & str) |
Public Functions Documentation¶
function ByteWriter¶
function Clear¶
function Data¶
function GetData¶
function Size¶
function Write¶
function WriteBytes¶
function WriteString¶
The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Network/ByteStream.hpp