deserialize

abstract fun deserialize(byteArray: ByteArray): T

De-Serializes the given byteArray into the type T.

The byteArray has been serialized using serialize on the peer device. Together with the serialize method, this class should be able to create an instance of T with the same content again, which has been serialized by serialize.

Return

the item T with the same content as passed into the serialize on the peer device.

Parameters

byteArray

The ByteArray serialized by this class' serialize method on the peer device, and transmitted over the air.