What c_void_p takes: an address, a ctypes array, a pointer,
a c_void_p instance, byref() or a Buffer; structure, union and other
scalar instances are an ArgumentError, as in Python: pass byref(x)
Bytes (a C ssize_t; negative is a RangeError)
Optionalreadonly: false
A read-only view (see ReadonlyMemoryView)
A live view of the memory
View size bytes of memory.
Python equivalent: ctypes.memoryview_at(ptr, size, readonly=False)
What c_void_p takes: an address, a ctypes array, a pointer,
a c_void_p instance, byref() or a Buffer; structure, union and other
scalar instances are an ArgumentError, as in Python: pass byref(x)
Bytes (a C ssize_t; negative is a RangeError)
A read-only view (see ReadonlyMemoryView)
A live view of the memory
View size bytes of memory.
Python equivalent: ctypes.memoryview_at(ptr, size, readonly=False)
What c_void_p takes: an address, a ctypes array, a pointer,
a c_void_p instance, byref() or a Buffer; structure, union and other
scalar instances are an ArgumentError, as in Python: pass byref(x)
Bytes (a C ssize_t; negative is a RangeError)
A read-only view (see ReadonlyMemoryView)
A live view of the memory
View
sizebytes of memory.Python equivalent:
ctypes.memoryview_at(ptr, size, readonly=False)