Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

SDK • Re: 32-bit access to byte array?

$
0
0
Or can use a pointer (to the original array) and access it as a 32bit array, of course it has to be properly aligned to 4 bytes.
This way you create another view of the same memory space, though have to take in account the endianness (might require some byte swaps).

Statistics: Posted by gmx — Thu Jun 05, 2025 10:41 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles