Ernest Friedman-Hill wrote:You have to read everything, of course, and just keep the messages.
I am able to read everything from the file containing byte array but i have to skip "HEADERS" from it. Do you mean to say to use skip() method of FileInputStream ?