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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -