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

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -