code: public static <T> T fromByteArray(byte[] data, Class<T> clazz) {
          return fromByteArray(data, clazz, null);
      }
docs: Deserialize a byte array back to an object.
  
  <p>
  If the target class implements {@link ISerializationSupport}, this method
  calls its {@link ISerializationSupport#toBytes()} method; otherwise FST
  library is used to serialize the object.
  </p>
  
  @param data
  @param clazz
  @return
  @deprecated since 0.9.2 with no replacement, use {@link #fromByteArrayFst(byte[], Class)} or
  {@link #fromByteArrayKryo(byte[], Class)}