code: public void readObject(DataInputStream dataInputStream, ObjectManagerState objectManagerState) throws ObjectManagerException, IOException
      {
          super.readObject(dataInputStream, objectManagerState);
  
          // Read in the serialVersionUID
          dataInputStream.readLong();
  
          // Read in the number of slices we have
          int count = dataInputStream.readInt();
  
          _dataSlices = new ArrayList<DataSlice>(count);
  
          for (int i = 0; i < count; i++)
          {
              int length = dataInputStream.readInt();
  
              byte[] bytes = new byte[length];
  
              dataInputStream.readFully(bytes, 0, length);
  
              DataSlice slice = new DataSlice(bytes, 0, length);
  
              _dataSlices.add(slice);
          }
      }
docs: Simplified deserialization.
  
  @param dataInputStream
  containing the serialized Object.
  @param objectManagerState
  of the objectManager reconstructing the serialized Object.
  
  @exception ObjectManagerException
  @exception IOException