Re: Jython buffer protocol

Jeff Allen <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <[email protected]>
Stefan:

I recently pushed more changes to my bitbucket fork, including addition 
of a getObj() to PyBuffer in response to your need to navigate to the 
exporting object.

The existing PyBuffer interface provides copyTo/From byte arrays. With 
support for non-heap NIO storage it seems natural (and not too hard) to 
add copyTo/From ByteBuffer. At present these are in the NIO 
implementation, but not made interface items. Do you think this would be 
bloat, nice-to-have, or really useful for what you were hoping to do?

Jeff

Jeff Allen

On 13/06/2016 01:04, Stefan Richthofer wrote:
> Hey Jeff,
> thanks a lot for this work. I will take a closer look as soon as I find time.
> However, so far - quickly scrolling through some source-files - it looks pretty good.
>
> Best
>
> Stefan
>
>
>
>> Gesendet: Samstag, 11. Juni 2016 um 11:37 Uhr
>> Von: "Jeff Allen" <[email protected]>
>> An: "Stefan Richthofer" <[email protected]>
>> Cc: "Jython Developers" <[email protected]>
>> Betreff: Re: [Jython-dev] Jython buffer protocol
>>
>> Stefan:
>>
>> A sane version of the nio buffer work now exists for your delight at:
>> https://bitbucket.org/tournesol/jython-nio
>>
<snip>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.