| 323 | } |
| 324 | |
| 325 | inline int32_t strCat(char* _dst, int32_t _dstSize, const char* _src, int32_t _num) |
| 326 | { |
| 327 | BX_ASSERT(NULL != _dst, "_dst can't be NULL!"); |
| 328 | BX_ASSERT(NULL != _src, "_src can't be NULL!"); |
| 329 | BX_ASSERT(0 < _dstSize, "_dstSize can't be 0!"); |
| 330 | |
| 331 | const int32_t max = _dstSize; |
| 332 | const int32_t len = strLen(_dst, max); |
| 333 | return strCopy(&_dst[len], max-len, _src, _num); |
| 334 | } |
| 335 | |
| 336 | int32_t strCat(char* _dst, int32_t _dstSize, const StringView& _str, int32_t _num) |
| 337 | { |
no test coverage detected