[issue12945] ctypes works incorrectly with _swappedbytes_ = 1
report at bugs.python.org
Mon Sep 12 11:44:45 CEST 2011
Pavel Boldin <boldin.pavel at gmail.com> added the comment:
We have raw data packages from some tools. These packages contains bitfields, arrays, simple data and so on.
We want to parse them into Python objects (structures) for analysis and storage. I tried to use ctypes, but now I wrote myself implementation of raw parser based on bitarray and struct.
I wonder if ctypes can do this.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list