MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / BufferInit

Function BufferInit

Source/multi.cpp:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94uint32_t sgbSentThisCycle;
95
96void BufferInit(TBuffer *pBuf)
97{
98 pBuf->dwNextWriteOffset = 0;
99 pBuf->bData[0] = byte { 0 };
100}
101
102void CopyPacket(TBuffer *buf, const byte *packet, size_t size)
103{

Callers 1

NetInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected