How to write partial of a buffer which was returned from a C function to a file?

Cameron Simpson cs at cskk.id.au
Thu Apr 12 18:52:55 EDT 2018


On 12Apr2018 16:11, Jach Fong <jfong at ms4.hinet.net> wrote:
>This is the first time I am using python-list to interact with 
>comp.lang.python forum (because there are so many spam when using 
>browser to view it) so forgive me if something goes wrong.
>
>Python already treat the returned buffer as 'bytes'. The problem is 
>Python don't know its size (or decides it wrong:-).

I think you'll need to show us your code. It isn't clear to me your problem is.

Cheers,
Cameron Simpson <cs at cskk.id.au>



More information about the Python-list mailing list