corda / net.corda.core.serialization / kotlin.ByteArray / deserialize

deserialize

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

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