File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Saving Byte Array into File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Saving Byte Array into File " Watch "Saving Byte Array into File " New topic

Saving Byte Array into File

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I am trying to write a program that would convert a byte array into a file. Any suggestion of samples would be appreciated
Freddy Wong
Ranch Hand

Joined: Sep 11, 2006
Posts: 959

Use FileOutputStream.write(byte[]).

SCJP 5.0, SCWCD 1.4, SCBCD 1.3, SCDJWS 1.4
My Blog
I agree. Here's the link:
subject: Saving Byte Array into File
It's not a secret anymore!