code: protected <T extends IMessage<ID, DATA>> T deserialize(byte[] msgData, Class<T> clazz) {
          return msgData != null ? SerializationUtils.fromByteArray(msgData, clazz) : null;
      }
docs: Deserialize a message.
  
  @param msgData
  @return