I have a special file where the lines are terminated by '\001'
.
I want to read this file line by line.
I have been using Files.lines(path)
. but this fails now, since the lines are not terminated by new line character.
what is the best way to do?