MCPcopy Create free account
hub / github.com/JACoders/OpenJK / MSG_Init

Function MSG_Init

code/qcommon/msg.cpp:38–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36
37
38void MSG_Init( msg_t *buf, byte *data, int length ) {
39 memset (buf, 0, sizeof(*buf));
40 buf->data = data;
41 buf->maxsize = length;
42}
43
44void MSG_Clear( msg_t *buf ) {
45 buf->cursize = 0;

Callers 6

Com_EventLoopFunction · 0.70
Netchan_TransmitFunction · 0.70
CL_WritePacketFunction · 0.50
SV_SendClientGameStateFunction · 0.50
SV_SendClientSnapshotFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected