public static byte @Nullable [] getResourceAsBytesSafely(@NotNull String path, @NotNull ClassLoader classLoader) {
    try {
      return getResourceAsBytes(path, classLoader);
    }
    catch (IOException e) {
      Logger.getInstance(ResourceUtil.class).info("Failed to load resource as bytes: " + path, e);
      return null;
    }
  }
public static byte @Nullable [] getResourceAsBytesSafely(@NotNull String path, @NotNull ClassLoader classLoader)