code: public void writeObject(DataOutputStream dataOutputStream) throws ObjectManagerException, IOException
      {
          super.writeObject(dataOutputStream);
  
          // Write out our serialVersionUID
          dataOutputStream.writeLong(serialVersionUID);
  
          if (_dataSlices != null)
          {
              // Write the number of slices we have
              dataOutputStream.writeInt(_dataSlices.size());
      
              // Write each slice out
              for (DataSlice slice : _dataSlices)
              {
                  dataOutputStream.writeInt(slice.getLength());
                  dataOutputStream.write(slice.getBytes(), slice.getOffset(), slice.getLength());
              }
          }
          else
          {
              // We have no slices so just write a 
              // zero so we don't try to read any in
              // at readObject time.
              dataOutputStream.writeInt(0);
          }
      }
docs: Simplified serialization.
  
  @param dataOutputStream
  to write the serialized data to.
  
  @exception ObjectManagerException
  @exception IOException