How to use memset on "read-write buffer" object in Python
Posted
by fuenfundachtzig
on Stack Overflow
See other posts from Stack Overflow
or by fuenfundachtzig
Published on 2010-06-02T09:11:58Z
Indexed on
2010/06/02
9:13 UTC
Read the original article
Hit count: 333
I have a Python function that gives back some read-write buffer:
>>> x = h.GetEXlow()
>>> x
<read-write buffer ptr 0xa2b8140, size 2147483647 at 0x8b73f80>
Now I would like to memset
the whole buffer content to zero. (The size stated above is obviously wrong, but I can determine the size without problems.) How do I do this?
© Stack Overflow or respective owner