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

Function writeLongCString

Engine/source/app/net/serverQuery.cpp:1118–1124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1116//-----------------------------------------------------------------------------
1117
1118static void writeLongCString( BitStream* stream, const char* string )
1119{
1120 U16 strLen = ( string != NULL ) ? dStrlen( string ) : 0;
1121 stream->write( strLen );
1122 for ( U32 i = 0; i < strLen; i++ )
1123 stream->write( U8( string[i] ) );
1124}
1125
1126//-----------------------------------------------------------------------------
1127

Callers 1

handleGameInfoRequestFunction · 0.85

Calls 2

dStrlenFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected