ctypes.cast()

ctypes.cast(obj, type)

This function is similar to the cast operator in C. It returns a new instance of type which points to the same memory block as obj. type must be a pointer type, and obj must be an object that can be interpreted as a pointer.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.