64-bit / 128-bit data element type for array?
akineko
akineko at gmail.com
Mon Dec 22 12:57:08 EST 2008
Hello everyone,
I need to handle binary files that contain 64-bit (or 128-bit in the
furture) unsigned int data.
Python's array seems not supporting unsigned int type beyond 32-bit
('L').
I would like to use Python array as I need to make my program work on
both big-endian machines as well as on little-endian machines.
What is the best way to deal with 64-bit / 128-bit data elements in
Python (must support byteswap())?
(must be machine-independent)
Any idea, any hints, comments would be greatly appreciated.
Thank you!
Aki Niimura
More information about the Python-list
mailing list