_d_arrayappendcTX

Extend an array by n elements.

Caller must initialize those elements.

extern (C)
byte[]
_d_arrayappendcTX
(
const TypeInfo ti
,
return scope ref byte[] px
,
size_t n
)

Parameters

ti TypeInfo

type info of array type (not element type)

px byte[]

array to append to, cast to byte[] while keeping the same .length. Will be updated.

n size_t

number of elements to append

Return Value

Type: byte[]

px after being appended to

Meta