擅长:python、mysql、java
<p>python在标准库中有pack/unpack,可以用来解释二进制数据并将它们映射到结构</p>
<p>见“11.3。使用二进制数据记录布局“here<a href="http://docs.python.org/tutorial/stdlib2.html" rel="nofollow noreferrer">http://docs.python.org/tutorial/stdlib2.html</a></p>
<p>或者在这里<a href="http://docs.python.org/library/struct.html" rel="nofollow noreferrer">http://docs.python.org/library/struct.html</a></p>