开发者

How to read Unsigned integer from binary file?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜