Universal Buffer Support: Interfacing with Diverse Data Types

Memory Views provide broad compatibility by working with virtually any object that implements Python's PEP 3118 buffer protocol, including NumPy arrays, standard library `array` objects, and C arrays, facilitating seamless, zero-copy data exchange with C extensions.

Sources

Open the full topic