On 10 September 2012 15:15, Emmanuel Lécharny elecharny-at-gmail.com | [email protected]| <[email protected]> wrote:
> Le 9/10/12 3:19 PM, Mina a écrit : > > Hi, >> >> I'm using IoBuffer#array to process an IoBuffer's data but I find that I >> must also call its get() method so it knows I've read all its data. Is >> there a quicker way of notifying it that I'm done with it? >> > You can clear it when you are done, or set it's position to its limit. > > But the question is : why would you do that ? Is there any good reason ? > To reduce the number of times I'm copying data around. Ed.
