开发者

How to read Unsigned integer from binary file?

开发者 https://www.devze.com 2023-03-22 11:48 出处:网络
How to read 开发者_JAVA技巧\"Unsigned 8/16/24/32/64-bit integer\" from binary file ? ( big-endian byte order )

How to read 开发者_JAVA技巧"Unsigned 8/16/24/32/64-bit integer" from binary file ? ( big-endian byte order ) unpack ? any examples ?


Use the struct module. That covers 8,16,32 and 64 bits. 24 bits you will need to do some extra fiddling yourself

Examples are here

0

精彩评论

暂无评论...
验证码 换一张
取 消