deserialize

Deserialize an object from the input and return it. If there are no more objects in the input then answer null. If the stream is malformed throw a MalformedSerialStreamException.

Return

A fully deserialized object or null.

Throws

MalformedSerialStreamException

If the stream is malformed.