plik Java otrzymuje bajty
File file = new File("./myfile.txt");
byte[] fileContent = Files.readAllBytes(file.toPath());
JavaBeast
File file = new File("./myfile.txt");
byte[] fileContent = Files.readAllBytes(file.toPath());