deserializeNotificationMessage
Deserializes a byte array into a NotificationMessage object.
Return
the deserialized NotificationMessage object
Parameters
data
the byte array to deserialize
Throws
if an I/O error occurs during deserialization