byte[] to string?
Hello! and thank you in advance.
I am performing a search of a (huge) text file. I found it to be most efficient in searching to convert the search String to a byte[] array, open up the file as a FileInputStream, and search the Stream byte-by-byte against the search String byte[] array.
Having done this, I can confirm that the string does appear in the file. Is it possible to create a string (or char[] ) containing the 2000 characters following my search string? How?

