MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / MySerializeInt

Function MySerializeInt

examples/SharedMemory/GraphicsServerExample.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28bool gVerboseNetworkMessagesServer = true;
29
30void MySerializeInt(unsigned int sz, unsigned char* output)
31{
32 unsigned int tmp = sz;
33 output[0] = tmp & 255;
34 tmp = tmp >> 8;
35 output[1] = tmp & 255;
36 tmp = tmp >> 8;
37 output[2] = tmp & 255;
38 tmp = tmp >> 8;
39 output[3] = tmp & 255;
40}
41
42void submitStatus(CActiveSocket* pClient, GraphicsSharedMemoryStatus& serverStatus, b3AlignedObjectArray<char>& buffer)
43{

Callers 1

submitStatusFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected