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

Function writeLongCString

engine/source/network/serverQuery.cc:974–980  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

972//-----------------------------------------------------------------------------
973
974static void writeLongCString( BitStream* stream, const char* string )
975{
976 U16 strLen = ( string != NULL ) ? dStrlen( string ) : 0;
977 stream->write( strLen );
978 for ( U32 i = 0; i < strLen; i++ )
979 stream->write( U8( string[i] ) );
980}
981
982//-----------------------------------------------------------------------------
983

Callers 1

handleGameInfoRequestFunction · 0.85

Calls 2

dStrlenFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected