Deserializer
A Deserializer takes a stream of bytes and reconstructs objects that had been previously serialized with a Serializer.
Author
Mark van Gulik
Parameters
An InputStream from which to reconstruct objects.
The AvailRuntime from which to locate well-known objects during deserialization.
A function that maps from negative integers to objects that this deserializer has been primed with. This is the inverse function of Serializer.lookupPumpedObject.
Constructors
Construct a new Deserializer.
Properties
Functions
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.
Answer a tuple containing the sequence of objects that have been deserialized by this Deserializer. This is the same sequence of objects that the Serializer generated.