/ Concatenate a string to the Serialize string. */ /
| 358 | /* Concatenate a string to the Serialize string. */ |
| 359 | /***********************************************************************/ |
| 360 | bool JOUTSTR::WriteStr(const char* s) { |
| 361 | if (s) { |
| 362 | size_t len = strlen(s); |
| 363 | |
| 364 | if (N + len > Max) |
| 365 | return true; |
| 366 | |
| 367 | memcpy(Strp + N, s, len); |
| 368 | N += len; |
| 369 | return false; |
| 370 | } else |
| 371 | return true; |
| 372 | |
| 373 | } // end of WriteStr |
| 374 | |
| 375 | /***********************************************************************/ |
| 376 | /* Concatenate a character to the Serialize string. */ |
no outgoing calls
no test coverage detected