17 char* srcByte = (
char*)&data;
18 memcpy(srcByte, ds,
sizeof(
bool));
30 char* srcByte = (
char*)data;
31 memcpy(srcByte, ds,
sizeof(
bool)*nbElement);
32 ds +=
sizeof(bool)*nbElement;
42 const char* srcByte = (
const char*)&data;
43 memcpy(ds, srcByte,
sizeof(
bool));
55 const char* srcByte = (
const char*)data;
56 memcpy(ds, srcByte,
sizeof(
bool)*nbElement);
57 ds +=
sizeof(bool)*nbElement;
67 char* srcByte = (
char*)&data;
68 memcpy(srcByte, ds,
sizeof(
char));
80 char* srcByte = (
char*)data;
81 memcpy(srcByte, ds,
sizeof(
char)*nbElement);
82 ds +=
sizeof(char)*nbElement;
92 const char* srcByte = (
const char*)&data;
93 memcpy(ds, srcByte,
sizeof(
char));
105 const char* srcByte = (
const char*)data;
106 memcpy(ds, srcByte,
sizeof(
char)*nbElement);
107 ds +=
sizeof(char)*nbElement;
117 char* srcByte = (
char*)&data;
118 memcpy(srcByte, ds,
sizeof(
short));
130 char* srcByte = (
char*)data;
131 memcpy(srcByte, ds,
sizeof(
short)*nbElement);
132 ds +=
sizeof(short)*nbElement;
142 const char* srcByte = (
const char*)&data;
143 memcpy(ds, srcByte,
sizeof(
short));
155 const char* srcByte = (
const char*)data;
156 memcpy(ds, srcByte,
sizeof(
short)*nbElement);
157 ds +=
sizeof(short)*nbElement;
167 char* srcByte = (
char*)&data;
168 memcpy(srcByte, ds,
sizeof(
int));
180 char* srcByte = (
char*)data;
181 memcpy(srcByte, ds,
sizeof(
int)*nbElement);
182 ds +=
sizeof(int)*nbElement;
192 const char* srcByte = (
const char*)&data;
193 memcpy(ds, srcByte,
sizeof(
int));
205 const char* srcByte = (
const char*)data;
206 memcpy(ds, srcByte,
sizeof(
int)*nbElement);
207 ds +=
sizeof(int)*nbElement;
217 char* srcByte = (
char*)&data;
218 memcpy(srcByte, ds,
sizeof(
long int));
219 ds +=
sizeof(
long int);
230 char* srcByte = (
char*)data;
231 memcpy(srcByte, ds,
sizeof(
long int)*nbElement);
232 ds +=
sizeof(
long int)*nbElement;
242 const char* srcByte = (
const char*)&data;
243 memcpy(ds, srcByte,
sizeof(
long int));
244 ds +=
sizeof(
long int);
255 const char* srcByte = (
const char*)data;
256 memcpy(ds, srcByte,
sizeof(
long int)*nbElement);
257 ds +=
sizeof(
long int)*nbElement;
267 char* srcByte = (
char*)&data;
268 memcpy(srcByte, ds,
sizeof(
unsigned char));
269 ds +=
sizeof(
unsigned char);
280 char* srcByte = (
char*)data;
281 memcpy(srcByte, ds,
sizeof(
unsigned char)*nbElement);
282 ds +=
sizeof(
unsigned char)*nbElement;
292 const char* srcByte = (
const char*)&data;
293 memcpy(ds, srcByte,
sizeof(
unsigned char));
294 ds +=
sizeof(
unsigned char);
305 const char* srcByte = (
const char*)data;
306 memcpy(ds, srcByte,
sizeof(
unsigned char)*nbElement);
307 ds +=
sizeof(
unsigned char)*nbElement;
317 char* srcByte = (
char*)&data;
318 memcpy(srcByte, ds,
sizeof(
unsigned short));
319 ds +=
sizeof(
unsigned short);
330 char* srcByte = (
char*)data;
331 memcpy(srcByte, ds,
sizeof(
unsigned short)*nbElement);
332 ds +=
sizeof(
unsigned short)*nbElement;
342 const char* srcByte = (
const char*)&data;
343 memcpy(ds, srcByte,
sizeof(
unsigned short));
344 ds +=
sizeof(
unsigned short);
355 const char* srcByte = (
const char*)data;
356 memcpy(ds, srcByte,
sizeof(
unsigned short)*nbElement);
357 ds +=
sizeof(
unsigned short)*nbElement;
367 char* srcByte = (
char*)&data;
368 memcpy(srcByte, ds,
sizeof(
unsigned int));
369 ds +=
sizeof(
unsigned int);
380 char* srcByte = (
char*)data;
381 memcpy(srcByte, ds,
sizeof(
unsigned int)*nbElement);
382 ds +=
sizeof(
unsigned int)*nbElement;
392 const char* srcByte = (
const char*)&data;
393 memcpy(ds, srcByte,
sizeof(
unsigned int));
394 ds +=
sizeof(
unsigned int);
405 const char* srcByte = (
const char*)data;
406 memcpy(ds, srcByte,
sizeof(
unsigned int)*nbElement);
407 ds +=
sizeof(
unsigned int)*nbElement;
417 char* srcByte = (
char*)&data;
418 memcpy(srcByte, ds,
sizeof(
long unsigned int));
419 ds +=
sizeof(
long unsigned int);
430 char* srcByte = (
char*)data;
431 memcpy(srcByte, ds,
sizeof(
long unsigned int)*nbElement);
432 ds +=
sizeof(
long unsigned int)*nbElement;
442 const char* srcByte = (
const char*)&data;
443 memcpy(ds, srcByte,
sizeof(
long unsigned int));
444 ds +=
sizeof(
long unsigned int);
455 const char* srcByte = (
const char*)data;
456 memcpy(ds, srcByte,
sizeof(
long unsigned int)*nbElement);
457 ds +=
sizeof(
long unsigned int)*nbElement;
467 char* srcByte = (
char*)&data;
468 memcpy(srcByte, ds,
sizeof(
float));
480 char* srcByte = (
char*)data;
481 memcpy(srcByte, ds,
sizeof(
float)*nbElement);
482 ds +=
sizeof(float)*nbElement;
492 const char* srcByte = (
const char*)&data;
493 memcpy(ds, srcByte,
sizeof(
float));
505 const char* srcByte = (
const char*)data;
506 memcpy(ds, srcByte,
sizeof(
float)*nbElement);
507 ds +=
sizeof(float)*nbElement;
517 char* srcByte = (
char*)&data;
518 memcpy(srcByte, ds,
sizeof(
double));
519 ds +=
sizeof(double);
530 char* srcByte = (
char*)data;
531 memcpy(srcByte, ds,
sizeof(
double)*nbElement);
532 ds +=
sizeof(double)*nbElement;
542 const char* srcByte = (
const char*)&data;
543 memcpy(ds, srcByte,
sizeof(
double));
544 ds +=
sizeof(double);
555 const char* srcByte = (
const char*)data;
556 memcpy(ds, srcByte,
sizeof(
double)*nbElement);
557 ds +=
sizeof(double)*nbElement;
567 size_t nbElement(0lu);
569 if(nbElement == 0lu || !b){
return b;}
570 data.resize(nbElement);
571 memcpy((
char*)data.data(), ds, nbElement);
583 size_t nbElement(data.size());
585 if(nbElement == 0lu || !b){
return b;}
586 memcpy(ds, (
const char*)data.data(), nbElement);