K
kelvSYC
What's the difference between FileInputStream's read(), read(byte[]),
and read(byte[], int, int) methods, and the RandomAccessFile's
readByte(), readFully(byte[]) and readFully(byte[], int, int) methods,
besides the fact that one throws an EOFException and one does not?
When reading files sequentially, is there a preference for one class
over the other?
and read(byte[], int, int) methods, and the RandomAccessFile's
readByte(), readFully(byte[]) and readFully(byte[], int, int) methods,
besides the fact that one throws an EOFException and one does not?
When reading files sequentially, is there a preference for one class
over the other?