memcpy

Undocumented in source. Be warned that the author may not have intended to support it.
@nogc nothrow
void
memcpy
(
scope const void* source
,
scope void* dest
,)

Examples

const ubyte[5] source = [1, 2, 3, 4, 5];
ubyte[5] dest;
memcpy(source.ptr, &dest[0], 5);
assert(dest[] == source);

Meta