public static FormatVersion fromBytes(byte[] data) {
    for (FormatVersion formatVersion : FormatVersion.values()) {
      byte[] expected = formatVersion.asBytes();
      if (Arrays.equals(expected, data)) {
        return formatVersion;
      }
    }
    return null;
  }
the version of log format, contains a fixed magic number and actual version number, the byte
array length of the version must be equal to four..
amoro-format-iceberg/src/main/java/org/apache/amoro/log/FormatVersion.java