The class is used by DXNet and DXRenderer to pack data into a string, which can be sent to the server. This class also provides additional structure to packets sent which increases the ease of use when reading the data on the server-side. The byte buffer can write strings, integers and floating-point numbers currently, which also offer the same read operations, which means a packet could be structured similar to the way demonstrated below:

Send Method

DXByteBuffer *Buffer = new DXByteBuffer();



Read Method

int num = Buffer->ReadInt();

std::string str = Buffer->ReadString();

float fl = Buffer->ReadFloat();

Sub Components

  • Std::string
  • uint32_t


Below is a list of implemented methods, accompanied with a brief description.


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.