Ejemplo n.º 1
0
 public bool Serialize(Stream stream)
 {
     using (ObjectStream MS = new ObjectStream(stream))
     {
         MS.WriteInt64(ID);
         MS.WriteInt32(Age);
         MS.WriteString(Name);
         MS.WriteData(Data);
     }
     return true;
 }