MCPcopy Create free account
hub / github.com/ZDoom/Raze / WriteLong

Function WriteLong

source/core/d_protocol.cpp:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void WriteLong (int v, uint8_t **stream)
118{
119 (*stream)[0] = v >> 24;
120 (*stream)[1] = (v >> 16) & 255;
121 (*stream)[2] = (v >> 8) & 255;
122 (*stream)[3] = v & 255;
123 *stream += 4;
124}
125
126void WriteFloat (float v, uint8_t **stream)
127{

Callers 7

WriteFloatFunction · 0.85
PackUserCmdFunction · 0.85
StartChunkFunction · 0.85
FinishChunkFunction · 0.85
TicSpecialClass · 0.85
DoArbitrateFunction · 0.85
D_QuitNetGameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected