python - How to read Unsigned integer from binary file? -


how read "unsigned 8/16/24/32/64-bit integer" binary file ? ( big-endian byte order ) unpack ? examples ?

use struct module. covers 8,16,32 , 64 bits. 24 bits need fiddling yourself

examples here


Comments

Popular posts from this blog

objective c - Newbie question -multiple parameters -

iphone - Using nested NSDictionary with Picker -

php - accessing mysql using different server to which db connection data is located -