Skip to content
Advertisement

How to convert a binary data into c_ubyte_Array_64 in python

How to convert ` b’x00x00x00x00x00x00x00x01′ c_ubyte_Array_64 in python. I could find any resources only so any help would really appreciated.

I have to send this message which should be of type c_ubyte_Array_64

JavaScript

I tried it in the above manner but it gives me this error

JavaScript

Advertisement

Answer

Listing [Python.Docs]: ctypes – A foreign function library for Python.

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement