摘要: 嵌入式开发中,有时需要对二进制流文件进行读写操作,一种方法是将二进制流文件转换为c语言数组形式。 这样可以使用python的struct模块,python的struct模块可以方便的进行字节与二进制之间的相互转换。 ## 1 struct模块常用的几个函数 | 函数 | 说明 | | | | | s 阅读全文
posted @ 2023-06-01 12:11 sureZ_ok 阅读(396) 评论(0) 推荐(0) 编辑