Yes after reading the specified number of bytes the pointer will be moved.
Confused about: RandomAccessFile.readFully(byte[] b)
-
14-04-2022 - |
Question
lets say byte[] b = 1024
for(int k = 0; k < 10; k++)
data.readFully(b);
does the readFully() method increment by itself if it is put inside of a loop kind of like the nextLine() method? or will continue to read the same 1024 bytes over and over?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow