MCPcopy Create free account
hub / github.com/TorqueGameEngines/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

packMethod · 0.45
packConstraintNamesMethod · 0.45
packDataMethod · 0.45
pack_constraint_infoMethod · 0.45
packUpdateMethod · 0.45
packDataMethod · 0.45
packDataMethod · 0.45
packDataMethod · 0.45
packDataMethod · 0.45
packDataMethod · 0.45
packDataMethod · 0.45
packDataMethod · 0.45

Calls 2

dStrlenFunction · 0.50
writeFunction · 0.50

Tested by

no test coverage detected