It's possible to do what you want with the existing NIO Buffer classes
and a helper tool. GlueGen (http://gluegen.dev.java.net/) generates Java
classes to access C data structures. These accessor classes wrap
ByteBuffers and provide setter / getter methods for accessing the fields
of the struct
Miles Sabin wrote:
> On Wed, Jun 18, 2008 at 6:15 AM, Ben Hutchison <[EMAIL PROTECTED]> wrote:
>
>> Also, in terms of what it doesn't do:
>>
>> 1. Hard to see any way to extend to interpret a ByteBuffer region as an
>> array of some value type, a feature ultimately needed for bulk interop
>> wit
On Wed, Jun 18, 2008 at 6:15 AM, Ben Hutchison <[EMAIL PROTECTED]> wrote:
> Also, in terms of what it doesn't do:
>
> 1. Hard to see any way to extend to interpret a ByteBuffer region as an
> array of some value type, a feature ultimately needed for bulk interop
> with external IO/processes, I feel