Message296542
many many thanks for your help!
and fast responses :-)
this explain my oberservations
why only the first 2 bytes are padded?
0xAABBCCDD (4 bytes = real32) to 0x0000AABBCCDD (6 bytes)
and not to 0x0000AABB0000CCDD (8 bytes)
it has something to do with the behavior of the C compiler’s sizeof expression? and why?
since I need pack / unpack often in my projects, i want to have it completely clarified. |
|
Date |
User |
Action |
Args |
2017-06-21 10:48:25 | knzsys | set | recipients:
+ knzsys, serhiy.storchaka, SylvainDe |
2017-06-21 10:48:25 | knzsys | set | messageid: <1498042105.54.0.907969405402.issue30712@psf.upfronthosting.co.za> |
2017-06-21 10:48:25 | knzsys | link | issue30712 messages |
2017-06-21 10:48:25 | knzsys | create | |
|