SerializationFactory.deserialize - corda

corda / net.corda.core.serialization / SerializationFactory / deserialize

# deserialize

`abstract fun <T : Any> deserialize(byteSequence: ByteSequence, clazz: Class<T>, context: SerializationContext): T`

Deserialize the bytes in to an object, using the prefixed bytes to determine the format.

### Parameters

`byteSequence` - The bytes to deserialize, including a format header prefix.

`clazz` - The class or superclass or the object to be deserialized, or Any or Object if unknown.

`context` - A context that configures various parameters to deserialization.