Esempio n. 1
0
        /// <summary>
        /// readObject is called to restore the state of the SignedObject from
        /// a stream.
        /// </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException
        private void ReadObject(java.io.ObjectInputStream s)
        {
            java.io.ObjectInputStream.GetField fields = s.ReadFields();
            Content           = ((sbyte[])fields.Get("content", null)).clone();
            Signature_Renamed = ((sbyte[])fields.Get("signature", null)).clone();
            Thealgorithm      = (String)fields.Get("thealgorithm", null);
        }
Esempio n. 2
0
        /// <summary>
        /// readObject is called to restore the state of the StringBuffer from
        /// a stream.
        /// </summary>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: private void readObject(java.io.ObjectInputStream s) throws java.io.IOException, ClassNotFoundException
        private void ReadObject(java.io.ObjectInputStream s)
        {
            java.io.ObjectInputStream.GetField fields = s.ReadFields();
            Value_Renamed = (char[])fields.Get("value", null);
            Count         = fields.Get("count", 0);
        }