code: public static void write2File(String filePath, byte[] byteData) {
          try {
              BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(new FileOutputStream(new File(filePath)));
              bufferedOutputStream.write(byteData);
              bufferedOutputStream.close();
          } catch (FileNotFoundException e) {
              e.printStackTrace();
          } catch (IOException e) {
              e.printStackTrace();
          }
      }
docs: 将byte数据写成文件
  
  @param filePath
  @param byteData