Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct myStruct{
- uint16_t x1;
- uint32_t x2;
- uint8_t x3;
- double x4[12];
- uint8 x5[12];
- ...
- }
- auto byteArray = reinterpret_cast<uint8_t*>(&myStructInstance);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement