Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. struct myStruct{
  2. uint16_t x1;
  3. uint32_t x2;
  4. uint8_t x3;
  5. double x4[12];
  6. uint8 x5[12];
  7. ...
  8. }
  9.  
  10. auto byteArray = reinterpret_cast<uint8_t*>(&myStructInstance);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement