Why does the storage size of a char seem to change?
I hope this helps . Because you are are marshaling, and by default, a char
will get marshalled to an ANSI char instead of a Unicode char. So "balloon"
is 8 characters, which is 8 bytes when ANSI encoded, plus 4 bytes for your
int, which is 12.If you
Date : November 17 2020, 04:28 AM , By : none none