added a function that returns the reader buffer instead of a string