@InterfaceAudience.Private
  static RegionInfo parseFromOrNull(final byte[] bytes, int offset, int len) {
    if (bytes == null || len <= 0) return null;
    try {
      return parseFrom(bytes, offset, len);
    } catch (DeserializationException e) {
      return null;
    }
  }
Returns A deserialized {@link RegionInfo} or null if we failed deserialize or passed bytes null
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RegionInfo.java