The buffer protocol is Python’s interface by which an object exposes its underlying memory — a pointer, the element type, the shape and the strides — to other objects and to compiled code, so that they can read and write it without copying.
Quantitative Finance · Glosarium