How to save byte array into an binary file in java. I have tries using file writer,bufferedOutputstream but with no results. The data gets saved in the binary file, when the file is opened with notepad, it looks like binary file has been created but when opened with wordpad the actual data appears.
Share
You can save byte array in this way:
It will create a file with your byte array