Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
94
uint32_t sgbSentThisCycle;
95
96
void BufferInit(TBuffer *pBuf)
97
{
98
pBuf->dwNextWriteOffset = 0;
99
pBuf->bData[0] = byte { 0 };
100
}
101
102
void CopyPacket(TBuffer *buf, const byte *packet, size_t size)
103
{
Callers
1
NetInit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected