C-like structures in Python

bytes转Structure def convert_bytes_to_structure(st: object, byte: bytes): assert ctypes.sizeof(st) ==len(byte),'size error! need:%d,give:%d'%(ctypes.si
posted @ 2024-01-28 12:47  DirWangK  阅读(3)  评论(0编辑  收藏  举报