A
Ahmad Jalil Qarshi
Hi!
I have a class named CClassToSerialize that contain some boolean, string and
few custom variable types.
Now when I create only a single Object and Serialize/Deserialize everything
is fine.
But I want to save more than one Object of this class into same file.
Now the problem is that if I create first object and Serialize it after
initializing some variables. Size of file is 905 bytes. Again when I create
another object of the same class and Serialize it after Initializing same
variables but with different values the size of the file becomes 1,799
bytes. which is not double of 905.
Now I dont know how to Deserialize each object independently.
So anybody there to help me how to achieve this task.
Thanks in Advance
Ahmad Jalil Qarshi
I have a class named CClassToSerialize that contain some boolean, string and
few custom variable types.
Now when I create only a single Object and Serialize/Deserialize everything
is fine.
But I want to save more than one Object of this class into same file.
Now the problem is that if I create first object and Serialize it after
initializing some variables. Size of file is 905 bytes. Again when I create
another object of the same class and Serialize it after Initializing same
variables but with different values the size of the file becomes 1,799
bytes. which is not double of 905.
Now I dont know how to Deserialize each object independently.
So anybody there to help me how to achieve this task.
Thanks in Advance
Ahmad Jalil Qarshi