MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / readLine

Method readLine

Engine/source/core/stream/streamObject.cpp:111–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109//-----------------------------------------------------------------------------
110
111const char * StreamObject::readLine()
112{
113 if(mStream == NULL)
114 return NULL;
115
116 static const U32 bufSize = 256;
117 char *buffer = Con::getReturnBuffer(bufSize);
118 mStream->readLine((U8 *)buffer, bufSize);
119 return buffer;
120}
121
122const char * StreamObject::readString()
123{

Callers 1

streamObject.cppFile · 0.45

Calls 1

getReturnBufferFunction · 0.85

Tested by

no test coverage detected