Re: C-Python and Endianness

2017-03-27 Thread Antoon Pardon
Op 26-03-17 om 08:47 schreef Ganesh Pal: > Hello Team , > > > > > I want to write the hexadecimal string that is passed from python as it > is on disk in C , my problem is that the values are getting stored in > little endian and Are you sure you are passing a string? Or are you passing a

C-Python and Endianness

2017-03-25 Thread Ganesh Pal
Hello Team , I want to write the hexadecimal string that is passed from python as it is on disk in C , my problem is that the values are getting stored in little endian and the values are swapped it has been quite a pain for me to fix this , any suggestion on how to fix this (I am on