On Wed, Apr 20, 2011 at 3:06 PM, Desimpel, Ignace <ignace.desim...@nuance.com> wrote: > As said above, the remaing bytes won't (always) be the actual bytes.
Sorry I answered a bit quickly, I meant to say that the actual bytes won't (always) be the full backing array. That is, we never guarantee that BB.arrayOffset() == 0, nor BB.position() == 0, nor BB.limit() == backingArray.length. But the remaining() bytes will be the actual bytes, my bad. -- Sylvain