Beispiel #1
0
 public void Deserialize(ITeslaReader reader)
 {
     reader.ReadObjectBegin("InnerClass");
     m_float = reader.ReadFloat("m_float");
     m_double = reader.ReadDouble("m_double");
     m_bool = reader.ReadBoolean("m_bool");
     reader.ReadObjectEnd("InnerClass");
 }
Beispiel #2
0
 public void Deserialize(ITeslaReader reader)
 {
     reader.ReadObjectBegin("InnerClass");
     m_float  = reader.ReadFloat("m_float");
     m_double = reader.ReadDouble("m_double");
     m_bool   = reader.ReadBoolean("m_bool");
     reader.ReadObjectEnd("InnerClass");
 }
Beispiel #3
0
 public void Deserialize(ITeslaReader reader)
 {
     reader.ReadObjectBegin("SampleClass");
     m_int       = reader.ReadInt32("m_int");
     m_byte      = reader.ReadByte("m_byte");
     m_longarray = (List <long>)reader.ReadInt64Array("m_longarray", false, 1);
     m_string    = reader.ReadString("m_string", false);
     m_obj       = reader.ReadObject <InnerClass>("m_obj", true);
     reader.ReadObjectEnd("SampleClass");
 }
Beispiel #4
0
 public void Deserialize(ITeslaReader reader)
 {
     reader.ReadObjectBegin("SampleClass");
     m_int = reader.ReadInt32("m_int");
     m_byte = reader.ReadByte("m_byte");
     m_longarray = (List<long>)reader.ReadInt64Array("m_longarray", false, 1);
     m_string = reader.ReadString("m_string", false);
     m_obj = reader.ReadObject<InnerClass>("m_obj", true);
     reader.ReadObjectEnd("SampleClass");
 }