In version 0.22.0, there was the function read_text that will return the entire text content as a String. Now, there is read_to_end_into. However, read_to_end_into cannot be used to recover the original text if we are using a BufReader.
We only get the indices of the text, but there is no way to get the original text because BufRead API doesn't support that.
Any way that read_text could be added back to the latest version?