Sunday 15 April 2012

java - Deserializing an Object that has been serialized using ObjectOutputStream's writeObject method -



java - Deserializing an Object that has been serialized using ObjectOutputStream's writeObject method -

if serialize object using objectoutputstream's writeobject method, way deserialize through objectinputstream's readobject method? can phone call objectinputstream's other read methods?

items in object streams tagged. if seek utilize wrong readxxx() primitive read them eofexception. methods can utilize read written object readobject() , readunshared(). can read raw bytes read() methods of course, you'll create impossible utilize of readxxx() methods afterwards, moving arbitrary position in stream.

java serialization deserialization objectinputstream objectoutputstream

No comments:

Post a Comment