Herr @Rolf B
Sie können das 😉
char a[4] = {65,66,67,68};
printf("%d.%d.%d.%d as little endian => %d\n", a[0],a[1],a[2],a[3], *(uint32_t*)a);
// 65.66.67.68 as little endian => 1145258561
// oder auch so
char *a = "ABCD";
printf("%d\n", *(uint8_t*)a + 1); // 66
printf("%d.%d.%d.%d as little endian => %d\n", a[0],a[1],a[2],a[3], *(uint32_t*)a);
Danke Dir!