readObject

inline fun <T : Any> InputStream.readObject(): T


inline fun <T : Any> Path.readObject(): T

Read in this file as an AMQP serialised blob of type T.

See also