[an error occurred while processing this directive]
|
unsigned char buf[7];
float C;
u16_t B;
char A;void foo(void) {
void *p = &buf[0];
// seq wr
*((float *)p)++ = C;
*((u16_t *)p)++ = B;
*((char *)p)++ = A;
// seq rd
p = &buf[0];
C = *((float *)p)++;
B = *((u16_t *)p)++;
A = *((char *)p)++;
// random rd
}
E-mail: info@telesys.ru