deserialize - corda

corda / net.corda.core.serialization / deserialize

# deserialize

`fun <reified T : Any> ByteSequence.deserialize(serializationFactory: SerializationFactory = SerializationFactory.defaultFactory, context: SerializationContext = serializationFactory.defaultContext): T`

Convenience extension method for deserializing a ByteSequence, utilising the defaults.

`fun <reified T : Any> SerializedBytes<T>.deserialize(serializationFactory: SerializationFactory = SerializationFactory.defaultFactory, context: SerializationContext = serializationFactory.defaultContext): T`

Convenience extension method for deserializing SerializedBytes with type matching, utilising the defaults.