void readSlot(int position,int[] buffer){
{
    position*=slotsize;
    int chunkpos=position >> lowbits;
    int slotpos=(position & lowmask);
    if (chunkpos > chunks.size() - 1)     chunks.addElement(new int[chunkalloc]);
    int[] chunk=chunks.elementAt(chunkpos);
    System.arraycopy(chunk,slotpos,buffer,0,slotsize);
  }
}

void readSlot ( int position , int [ ] buffer ) { { position *= slotsize ; int chunkpos = position > > lowbits ; int slotpos = ( position & lowmask ) ; if ( chunkpos > chunks . size ( ) - 1 ) chunks . addElement ( new int [ chunkalloc ] ) ; int [ ] chunk = chunks . elementAt ( chunkpos ) ; System . arraycopy ( chunk , slotpos , buffer , 0 , slotsize ) ; } }
retrieve the contents of a record into a user - supplied buffer array . used to reduce addressing overhead when code will access several columns of the record .
