Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FileInputStream file = null;
- FileOutputStream outp = null;
- try {
- File f = new File(filename_in);
- file = new FileInputStream(filename_in);
- boolean eof = false;
- byte b;
- int tmp;
- while (!eof)
- {
- tmp = file.read();
- if (tmp == -1)
- {
- eof = true;
- break;
- }
- b = (byte)tmp;
- }
- file.close();
- outp.close();
- } catch (IOException ex) {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement