code: public void index( final ByteBuffer index, final int position) {
  			index.putInt( tag).putInt( getType()).putInt( position).putInt( count);
  		}
docs: Writes the index entry into the provided buffer at the current position.