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

Method readLongString

Engine/source/core/stream/stream.cpp:154–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154void Stream::readLongString(U32 maxStringLen, char *stringBuf)
155{
156 U32 len;
157 read(&len);
158 if(len >= maxStringLen)
159 {
160 m_streamStatus = IOError;
161 return;
162 }
163 read(len, stringBuf);
164 stringBuf[len] = 0;
165}
166
167void Stream::writeLongString(U32 maxStringLen, const char *string)
168{

Callers 5

loadMethod · 0.45
parseAttributesMethod · 0.45
parseCustomNodeMethod · 0.45
unpackUpdateMethod · 0.45
unpackUpdateMethod · 0.45

Calls 1

readFunction · 0.50

Tested by

no test coverage detected