<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _peek_buffer(self, i=0):
 """Get the next line without consuming it."""

        while len(self._buffer) <= i:
            self._buffer.append(next(self._source))
        return self._buffer[i]