数据库文件采用的是大端还是小端呢?
zweite opened this issue · 2 comments
zweite commented
如题,在文档好像没看到相关说明。对Python不是很了解,但是看代码貌似是小端存储,所以确认下
代码 https://github.com/lovedboy/phone/blob/master/phone/phone.py#L28
self.head_fmt = "<4si"
self.phone_fmt = "<iiB"
ls0f commented
是小端。
zweite commented
好的,谢啦