rawCopy

Binary copies src to dest. src and dest can overlap.

This function is a preffered way over C's memcpy and memmove as it's CTFE-able and can work faster than C's ones as it knows data type.

  1. void rawCopy(T src, T dest)
    @system pure nothrow @nogc
    void
    rawCopy
    (
    T
    )
    (
    const ref T src
    ,
    ref T dest
    )
  2. void rawCopy(T* src, T* dest, size_t count)

Meta