I am wondering what the native format is in PBDLL.
If I create a long variable and place a value it,
then use the BIN$(LongVariable, 32),
I see the value in Big Endian format.
If I have a structure with several long fields,
and I just grab all the bytes from the structure,
will the bytes be in Big Endian or Little Endian.
Type strTest
One as Long
Two as Long
End Type
Union uTest
All as String * 8
Indi as strTest
End Union
GLOBAL Struct as uTest
Will Struct.All be the 2 longs in Big Endian order?
Does PBDLL have an easy way of converting between the different
Endian type?
Thanks
------------------
If I create a long variable and place a value it,
then use the BIN$(LongVariable, 32),
I see the value in Big Endian format.
If I have a structure with several long fields,
and I just grab all the bytes from the structure,
will the bytes be in Big Endian or Little Endian.
Type strTest
One as Long
Two as Long
End Type
Union uTest
All as String * 8
Indi as strTest
End Union
GLOBAL Struct as uTest
Will Struct.All be the 2 longs in Big Endian order?
Does PBDLL have an easy way of converting between the different
Endian type?
Thanks
------------------
Comment