D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
saltstack
/
salt
/
lib
/
python3.10
/
site-packages
/
msgpack
/
Filename :
buff_converter.h
back
Copy
#include "Python.h" /* cython does not support this preprocessor check => write it in raw C */ static PyObject * buff_to_buff(char *buff, Py_ssize_t size) { return PyMemoryView_FromMemory(buff, size, PyBUF_READ); }