and thank you, Cat, for changing your display name.
Welcome to the ranch!
To your question: You have to write the two ints seperately. And read it seperately. When you make the private void writeObject(ObjectOutputStream os) - method and the complementary readObject method, you have to be sure to do this in the right sequence.
Here is an example where I mixed it up (bold):
output: [Bird with 2 legs and 2 wings, Fly with 6 legs and 2 wings] null [Bird with 2 legs and 2 wings, Fly with 2 legs and 6 wings]
Hope that helped.
all events occur in real time
Joined: Aug 17, 2007
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com