The task pool that the tasks will be loaded in to.
InputStream containing the serialized tasks.
Parameters matching the task's 'deserialize()' excluding the deserialized buffer itself.
The number of tasks loaded from the stream.
When serialized data has been corrupted and expected number of items is not the amount read.
Restores tasks from the InputStream to the TaskPool.