I am reading a binary file one byte at a time using Java\'s FileInputStream.read() and keeping track of the position in the file by incrementing a variable i. I
i