W dniu 27.10.2010 17:30, Marek pisze:
http://docs.python.org/release/2.5.4/lib/typesseq.html
Yeah, Buffers (and especially API/C Buffer and MemoryView functions)
vere what i was looking for.
Thanks again!
http://docs.python.org/c-api/buffer.html?highlight=buffer#PyBuffer_FromMemory/
--
On Mon, Oct 25, 2010 at 1:51 PM, Marek Denis wrote:
now I'd like to know whether it's possible to get access to the raw memory
> from Python layer.
> Let's suppose I have the char* ptr pointer that points to the memory chunk
> with IPv4 packet. I would like to be able to read (and preferably writ
On 10/25/2010 10:51 AM, Marek Denis wrote:
Hi,
While I had some questions concerning accessing objects in Python, that
were previously created in C++ now I'd like to know whether it's
possible to get access to the raw memory from Python layer.
Let's suppose I have the char* ptr pointer that point
Hi,
While I had some questions concerning accessing objects in Python, that
were previously created in C++ now I'd like to know whether it's
possible to get access to the raw memory from Python layer.
Let's suppose I have the char* ptr pointer that points to the memory
chunk with IPv4 packet. I