cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Question about AbstractType class
Date Wed, 20 Apr 2011 14:04:02 GMT
On Wed, Apr 20, 2011 at 3:06 PM, Desimpel, Ignace
<Ignace.Desimpel@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

Mime
View raw message