Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 119311F5E for ; Wed, 20 Apr 2011 14:32:32 +0000 (UTC) Received: (qmail 9259 invoked by uid 500); 20 Apr 2011 14:04:31 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 9241 invoked by uid 500); 20 Apr 2011 14:04:30 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 9233 invoked by uid 99); 20 Apr 2011 14:04:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 14:04:30 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sylvain@datastax.com designates 209.85.161.172 as permitted sender) Received: from [209.85.161.172] (HELO mail-gx0-f172.google.com) (209.85.161.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Apr 2011 14:04:23 +0000 Received: by gxk19 with SMTP id 19so244080gxk.31 for ; Wed, 20 Apr 2011 07:04:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.182.12 with SMTP id e12mr5906909ybf.389.1303308242245; Wed, 20 Apr 2011 07:04:02 -0700 (PDT) Received: by 10.147.181.8 with HTTP; Wed, 20 Apr 2011 07:04:02 -0700 (PDT) X-Originating-IP: [88.183.33.171] In-Reply-To: <15FEFA0410B1AA4F9775D72F0279A368B27156@EU-EXCH02.nuance.com> References: <15FEFA0410B1AA4F9775D72F0279A368B27100@EU-EXCH02.nuance.com> <15FEFA0410B1AA4F9775D72F0279A368B27156@EU-EXCH02.nuance.com> Date: Wed, 20 Apr 2011 16:04:02 +0200 Message-ID: Subject: Re: Question about AbstractType class From: Sylvain Lebresne To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 20, 2011 at 3:06 PM, Desimpel, Ignace 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