Struct PacketTableSlot#

Struct Documentation#

struct PacketTableSlot#

A slot in the packet table’s ring buffer.

Public Functions

inline void drain()#

Mark the slot as empty so we write to the beginning.

Public Members

std::unique_ptr<char[]> data#

Pointer to the data to be written.

unsigned int rows = 0#

Number of rows to be consumed from the pointer.