I want to read a stream of bites/bytes as a String.
Here's what I have done up to now. Using a buffer I found that number of bytes, which include a text message from a binary file. Now what I want is to read those bytes stream as a String to get the message.
My issue is, use a buffer of size 5000. Some message use more than that. So I have to iteratively use the buffer cleaning after every read. But confusing, and worried about a simple way.