public void WriteReadData()
		{
			SerializedClass c = new SerializedClass();
			
			SerializeDeserialize(c);
			SerializeDeserialize(new SerializedClass[]{c,c});
			SerializeDeserialize(c.str);
			SerializeDeserialize(c.m_bool);
			SerializeDeserialize(c.m_byte);
			SerializeDeserialize(c.m_bytes);
			SerializeDeserialize(c.m_decimal);
			SerializeDeserialize(c.m_double);
			SerializeDeserialize(c.m_float);
			SerializeDeserialize(c.m_int);
			SerializeDeserialize(c.m_long);
			SerializeDeserialize(c.m_object);
			SerializeDeserialize(c.m_sbyte);
			SerializeDeserialize(c.m_short);
			//SerializeDeserialize(c.m_time);
			SerializeDeserialize(c.m_timeSpan);
			SerializeDeserialize(c.m_uint);
			SerializeDeserialize(c.m_ulong);
			SerializeDeserialize(c.m_ushort);
		}
Esempio n. 2
0
        public void WriteReadData()
        {
            SerializedClass c = new SerializedClass();

            SerializeDeserialize(c);
            SerializeDeserialize(new SerializedClass[] { c, c });
            SerializeDeserialize(c.str);
            SerializeDeserialize(c.m_bool);
            SerializeDeserialize(c.m_byte);
            SerializeDeserialize(c.m_bytes);
            SerializeDeserialize(c.m_decimal);
            SerializeDeserialize(c.m_double);
            SerializeDeserialize(c.m_float);
            SerializeDeserialize(c.m_int);
            SerializeDeserialize(c.m_long);
            SerializeDeserialize(c.m_object);
            SerializeDeserialize(c.m_sbyte);
            SerializeDeserialize(c.m_short);
            //SerializeDeserialize(c.m_time);
            SerializeDeserialize(c.m_timeSpan);
            SerializeDeserialize(c.m_uint);
            SerializeDeserialize(c.m_ulong);
            SerializeDeserialize(c.m_ushort);
        }