Say I need to read huge binary file of integers, a handy way is:
FileInputStream fi = new FileInputStream(file); BufferedInputStream bi = new BufferedInput
Just start with fi.skip(position) before wrapping it with bi and di. The underlying stream actually makes a call to seek when position is sufficiently large.