code: public void getRegisterContents(final IWordSerializer serializer) {
          for(final LongIterator iter = registerIterator(); iter.hasNext();) {
              serializer.writeWord(iter.next());
          }
      }
docs: Serializes the registers of the vector using the specified serializer.
  
  @param serializer the serializer to use. This cannot be <code>null</code>.