10 lines
225 B
Python
Raw Normal View History

2022-07-14 13:50:05 +08:00
import ctypes
read_data = ctypes.c_buffer(b'', 16)
print("----read size----")
datalen = len(read_data.raw)
print(datalen)
print(read_data.raw)
print("----read data----")
for i in range(0,datalen):
print(read_data.raw[i])