MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / Concat

Method Concat

src/Array.cpp:422–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

420}
421
422void ArrayBase::Concat(ArrayBase *outResult,const char *inSecond,int inLen)
423{
424 char *ptr = outResult->GetBase();
425 int n = length * GetElementSize();
426 memcpy(ptr,mBase,n);
427 ptr += n;
428 memcpy(ptr,inSecond,inLen*GetElementSize());
429 HX_OBJ_WB_PESSIMISTIC_GET(this);
430}
431
432
433String ArrayBase::joinArray(Array_obj<String> *inArray, String inSeparator)

Callers

nothing calls this directly

Calls 2

memcpyFunction · 0.85
GetElementSizeFunction · 0.50

Tested by

no test coverage detected