Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java file get bytes

File file = new File("./myfile.txt");
byte[] fileContent = Files.readAllBytes(file.toPath());
 
PREVIOUS NEXT
Tagged: #java #file #bytes
ADD COMMENT
Topic
Name
1+4 =