protected IndexKey convertStartKeyToNodeEntry(byte[] startKey){
  ByteBuffer buffer=ByteBuffer.wrap(startKey);
  buffer.rewind();
  int dictonaryKeySize=buffer.getInt();
  int nonDictonaryKeySize=buffer.getInt();
  byte[] dictionaryKey=new byte[dictonaryKeySize];
  buffer.get(dictionaryKey);
  byte[] nonDictionaryKey=new byte[nonDictonaryKeySize];
  buffer.get(nonDictionaryKey);
  IndexKey entry=new IndexKey(dictionaryKey,nonDictionaryKey);
  return entry;
}

protected IndexKey convertStartKeyToNodeEntry ( byte [ ] startKey ) { ByteBuffer buffer = ByteBuffer . wrap ( startKey ) ; buffer . rewind ( ) ; int dictonaryKeySize = buffer . getInt ( ) ; int nonDictonaryKeySize = buffer . getInt ( ) ; byte [ ] dictionaryKey = new byte [ dictonaryKeySize ] ; buffer . get ( dictionaryKey ) ; byte [ ] nonDictionaryKey = new byte [ nonDictonaryKeySize ] ; buffer . get ( nonDictionaryKey ) ; IndexKey entry = new IndexKey ( dictionaryKey , nonDictionaryKey ) ; return entry ; }
below method is to convert the start key into fixed and variable length key . data format < lenght > < fixed length key > < length > < variable length key >
