I have a file that contains some amount of plain text at the start followed by binary content at the end. The size of the binary content is determined by some one of the pla
You can read the text with BufferedReader. When you know where the binary starts you can close the file and open it with RandomAccessFile and read binary from any point in the file. Or you can read the file as binary and convert to text the sections you identify as text. {Using new String(bytes, encoding)}