spring-framework / org.springframework.util / SerializationUtils / deserialize

deserialize

@Nullable open static fun deserialize(@Nullable bytes: ByteArray): Any

Deserialize the byte array into an object.

Parameters

bytes - a serialized object

Return
the result of deserializing the bytes