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

Function readLongCString

engine/source/network/serverQuery.cc:984–995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

982//-----------------------------------------------------------------------------
983
984static void readLongCString( BitStream* stream, char* buffer )
985{
986 U32 i;
987 U16 strLen;
988 stream->read( &strLen );
989 for ( i = 0; i < strLen; i++ )
990 {
991 U8* ptr = (U8*) buffer;
992 stream->read( &ptr[i] );
993 }
994 buffer[i] = 0;
995}
996
997//-----------------------------------------------------------------------------
998// Event processing

Callers 1

handleGameInfoResponseFunction · 0.85

Calls 1

readMethod · 0.45

Tested by

no test coverage detected