SyntaxFix
Write A Post
Hire A Developer
Questions
Another solution using java.nio.file:
java.nio.file
byte[] bytes = ...; Path path = Paths.get("C:\\myfile.pdf"); Files.write(path, bytes);