in src/azstoragetorch/io.py [0:0]
def _invalidate_readline_buffer(self) -> None:
# NOTE: We invalidate the readline buffer for any out-of-band read() or seek() in order to simplify
# caching logic for readline(). In the future, we can consider reusing the buffer for read() calls.
self._readline_buffer = b""