MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / readLongCString

Function readLongCString

Engine/source/app/net/serverQuery.cpp:1128–1139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1126//-----------------------------------------------------------------------------
1127
1128static void readLongCString( BitStream* stream, char* buffer )
1129{
1130 U32 i;
1131 U16 strLen;
1132 stream->read( &strLen );
1133 for ( i = 0; i < strLen; i++ )
1134 {
1135 U8* ptr = (U8*) buffer;
1136 stream->read( &ptr[i] );
1137 }
1138 buffer[i] = 0;
1139}
1140
1141//-----------------------------------------------------------------------------
1142// Event processing

Callers 1

handleGameInfoResponseFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected