setMem

Set memory to a fixed value

pure
void
setMem
(
T
)
(
T* ptr
,
size_t n
,
ubyte val
)

Parameters

ptr T*

a pointer to an array

n size_t

the number of Ts pointed to by ptr

val ubyte

the value to set each ubyte to

Meta