previous | start | next

Code to Write a Byte to Disk

FileOutputStream output = new FileOutputStream("output.txt");
... byte b = 0;
...
output.write(b); ...
write.close();

 



previous | start | next