mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-22 06:27:51 +00:00
9 lines
160 B
C
9 lines
160 B
C
|
#include "byte.h"
|
||
|
|
||
|
void byte_copy(void *yv,long long ylen,const void *xv)
|
||
|
{
|
||
|
char *y = yv;
|
||
|
const char *x = xv;
|
||
|
while (ylen > 0) { *y++ = *x++; --ylen; }
|
||
|
}
|