Jak zmienić mój plik na dane binarne za pomocą Java
File file = new File("filename.bin");
byte[] fileData = new byte[file.length()];
FileInputStream in = new FileInputStream(file);
in.read(fileData):
in.close();
// now fileData contains the bytes of the file
Homeless Hummingbird