mir-algorithm — Libmir Archive
← Libmir Archive
Dlang.org
ScopedBuffer.moveDataAndEmplaceTo
mir
appender
ScopedBuffer
Copies data into an array of the same length using
memcpy
C routine. Shrinks the length to
0
.
struct
ScopedBuffer
(T, size_t bytes = 4096)
@
system
void
moveDataAndEmplaceTo
(
T
[]
array
)
if
(
bytes
&&
T.sizeof
<=
bytes
)
mir
appender
ScopedBuffer
aliases
opOpAssign
destructors
~this
functions
data
initialize
length
moveDataAndEmplaceTo
popBackN
prepare
put
reserve
reset
shrinkTo
postblits
this(this)
Copies data into an array of the same length using memcpy C routine. Shrinks the length to 0.