I want to read a binary file that its size is 5.5 megabyte(a mp3 file). I tried it with fileinputstream but it took many attempts. If possible, I want to read file with a minimal waste of time.
I want to read a binary file that its size is 5.5 megabyte (a
Share
Try this:
A more reliable version based on helpful comment from @Paul Cager & Liv related to available‘s and read‘s unreliability.