byte_size bytes of memory, and copies
byte_size bytes into it
NULL it returns
Deprecated since: 2.68
g_memdup2() instead, as it accepts a #gsize argument
byte_size, avoiding the possibility of overflow in a #gsize → #guint conversion.
The memory to copy.
The argument can be
The data is owned by the caller of the function.
The number of bytes to copy.