void saveToStream(DataOutputStream out) throws IOException {
  out.writeUTF(mUrl);
  out.writeUTF(mName);
  out.writeUTF(mValue);
  out.writeUTF(mDomain);
  out.writeUTF(mPath);
  out.writeLong(mCreation);
  out.writeLong(mExpiration);
  out.writeLong(mLastAccess);
  out.writeBoolean(mSecure);
  out.writeBoolean(mHttpOnly);
  out.writeBoolean(mFirstPartyOnly);
  out.writeInt(mPriority);
}

void saveToStream ( DataOutputStream out ) throws IOException { out . writeUTF ( mUrl ) ; out . writeUTF ( mName ) ; out . writeUTF ( mValue ) ; out . writeUTF ( mDomain ) ; out . writeUTF ( mPath ) ; out . writeLong ( mCreation ) ; out . writeLong ( mExpiration ) ; out . writeLong ( mLastAccess ) ; out . writeBoolean ( mSecure ) ; out . writeBoolean ( mHttpOnly ) ; out . writeBoolean ( mFirstPartyOnly ) ; out . writeInt ( mPriority ) ; }
serializes for saving to disk . does not close the stream . it is up to the caller to do so .
