MCPcopy Create free account
hub / github.com/ZDoom/gzdoom / ReadInt16

Function ReadInt16

src/d_protocol.cpp:65–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65int16_t ReadInt16 (uint8_t **stream)
66{
67 int16_t v = (((*stream)[0]) << 8) | (((*stream)[1]));
68 *stream += 2;
69 return v;
70}
71
72int32_t ReadInt32 (uint8_t **stream)
73{

Callers 7

UnpackUserCmdFunction · 0.85
ReadTicCmdFunction · 0.85
G_ProcessIFFDemoFunction · 0.85
Net_DoCommandFunction · 0.85
P_ConversationCommandFunction · 0.85
P_ReadDemoWeaponsChunkFunction · 0.85
ReadUInt16Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected