Append a string to the string */
| 327 | |
| 328 | /** Append a string to the string */ |
| 329 | void Append (const char* app) { |
| 330 | const size_t len = ::strlen(app); |
| 331 | if (!len) { |
| 332 | return; |
| 333 | } |
| 334 | if (length + len >= MAXLEN) { |
| 335 | return; |
| 336 | } |
| 337 | |
| 338 | memcpy(&data[length],app,len+1); |
| 339 | length += len; |
| 340 | } |
| 341 | |
| 342 | /** Clear the string - reset its length to zero */ |
| 343 | void Clear () { |
nothing calls this directly
no outgoing calls
no test coverage detected