code: public static void write(byte[] data, File file) {
          try {
              write(new ByteArrayInputStream(data), new BufferedOutputStream(new FileOutputStream(file)));
          } catch (FileNotFoundException e) {
              throw E.ioException(e);
          }
      }
docs: Write binary data to a file
  
  @param data
  The binary data to write
  @param file
  The file to write