# Class: com.pnfsoftware.jeb.util.serialization.Deserializer

This class allows the deserialization of a stream of bytes into object\(s\). 

 The [#deserialize()](#deserialize()) method is interruptible.

## Constructor: Deserializer
- parameter: `customTypeIdProvider`, type: `com.pnfsoftware.jeb.util.serialization.ITypeIdProvider`
- parameter: `stream`, type: `java.io.InputStream`


## Constructor: Deserializer
- parameter: `customTypeIdProvider`, type: `com.pnfsoftware.jeb.util.serialization.ITypeIdProvider`
- parameter: `classloaders`, type: `java.util.List<java.lang.ClassLoader>`
- parameter: `stream`, type: `java.io.InputStream`


## Method: addObjectCreatedHook
- parameter: `c`, type: `java.lang.Class<?>`
- parameter: `handler`, type: `com.pnfsoftware.jeb.util.serialization.IDeserializationEventHandler`


## Method: addProgressCallback
- parameter: `callback`, type: `com.pnfsoftware.jeb.util.base.IProgressCallback`


## Method: deserialize
- return type: `java.lang.Object`


## Method: deserialize
- parameter: `wantedType`, type: `java.lang.Class<T>`
- return type: `T`


## Method: getFlags
- return type: `int`


## Method: getObjectCount
- return type: `int`


## Method: getObjects
- return type: `java.util.Collection<java.lang.Object>`


## Method: getVersion
- return type: `int`


## Method: initialize


## Method: isInitialized
- return type: `boolean`


## Method: needsStringPool
- return type: `boolean`


## Method: removeObjectCreatedHook
- parameter: `c`, type: `java.lang.Class<?>`
- parameter: `handler`, type: `com.pnfsoftware.jeb.util.serialization.IDeserializationEventHandler`


## Method: removeProgressCallback
- parameter: `callback`, type: `com.pnfsoftware.jeb.util.base.IProgressCallback`


## Method: setExpectedObjectCount
- parameter: `count`, type: `int`


## Method: setStringPool
- parameter: `stringpool`, type: `java.util.List<java.lang.String>`


