How to describe the structure in ctypes
I have the following code in my header file:
ctypes.c_char versus ctypes.c_ubyte
I can define a structure containing an array of bytes in two ways, as an array of c_char or an array of c_ubyte:
I have the following code in my header file:
I can define a structure containing an array of bytes in two ways, as an array of c_char or an array of c_ubyte: