6 messages in net.java.dev.jna.usersRe: [jna-users] Re: Replacing getByte...
FromSent OnAttachments
Stas OskinJan 26, 2009 1:00 pm 
Stas OskinJan 26, 2009 1:01 pm 
Stas OskinJan 28, 2009 2:00 am 
Timothy WallJan 28, 2009 4:20 am 
Stas OskinJan 28, 2009 10:57 am 
Timothy WallJan 28, 2009 12:52 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Re: Replacing getByteArray by getByteBufferActions...
From:Stas Oskin (stas@gmail.com)
Date:Jan 28, 2009 10:57:23 am
List:net.java.dev.jna.users

Sorry, let me explain.

I have several spots which use getByteArray to copy data, but interested to use the memory directly.

Is getByteBuffer works as a drop-in replacement (freeing the memory later of course), or there are any special measures needed?

Regards.

2009/1/28 Timothy Wall <twal@dev.java.net>

Could you be more descriptive? I don't understand what you're asking.

On Jan 28, 2009, at 5:01 AM, Stas Oskin wrote:

Any idea?

Is it possible to replace getByteArray by getByteBuffer?

Thanks.