/// <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); }
/// <exception cref="System.IO.IOException"></exception> /// <exception cref="java.lang.ClassNotFoundException"></exception> private void readObject(java.io.ObjectInputStream @in) { java.io.ObjectInputStream.GetField fields = @in.readFields(); int count = fields.get("count", 0); char[] value = (char[])fields.get("value", null); set(value, count); }
/// <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); }