CPython's pickle.PickleBuffer Implementation in C: Out-of-Band Data Without Copies
PickleBuffer is a tiny C object that holds one Py_buffer view and forwards every buffer request straight to the original exporter — no copies, no managed-buffer layer.