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

Method writeString

Engine/source/core/stream/stream.cpp:115–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void Stream::writeString(const char *string, S32 maxLen)
116{
117 S32 len = string ? dStrlen(string) : 0;
118 if(len > maxLen)
119 len = maxLen;
120
121 write(U8(len));
122 if(len)
123 write(len, string);
124}
125
126bool Stream::writeFormattedBuffer(const char *format, ...)
127{

Callers 15

writeObjectMethod · 0.45
saveObjectFunction · 0.45
sendConnectRequestMethod · 0.45
sendConnectRejectMethod · 0.45
sendDisconnectPacketMethod · 0.45
packMethod · 0.45
writeMethod · 0.45
writeDemoStartBlockMethod · 0.45
packStringMethod · 0.45
packNetStringHandleUMethod · 0.45
packMethod · 0.45
writeMethod · 0.45

Calls 2

dStrlenFunction · 0.50
writeFunction · 0.50

Tested by

no test coverage detected