| 130 | } |
| 131 | |
| 132 | const char *StreamObject::readLongString(U32 maxStringLen) |
| 133 | { |
| 134 | if(mStream == NULL) |
| 135 | return NULL; |
| 136 | |
| 137 | char *buffer = Con::getReturnBuffer(maxStringLen + 1); |
| 138 | mStream->readLongString(maxStringLen, buffer); |
| 139 | return buffer; |
| 140 | } |
| 141 | |
| 142 | //----------------------------------------------------------------------------- |
| 143 | // Console Methods |
no test coverage detected