Abstract Deserializer
abstract class AbstractDeserializer( input: InputStream, runtime: AvailRuntime, lookupPumpedObject: (Int) -> A_BasicObject)
Content copied to clipboard
An AbstractDeserializer consumes a stream of bytes to reconstruct objects that had been previously serialized with a Serializer.
Author
Mark van Gulik
Parameters
input
An InputStream from which to reconstruct objects.
runtime
The AvailRuntime from which to locate well-known objects during deserialization.
lookup Pumped Object
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
Link copied to clipboard
fun AbstractDeserializer( input: InputStream, runtime: AvailRuntime, lookupPumpedObject: (Int) -> A_BasicObject)
Content copied to clipboard
Construct a new Deserializer.
Functions
Properties
Link copied to clipboard
Link copied to clipboard
The A_Modules that were already loaded in the runtime during instance creation.