parameters: (self)
docstring: Gets rid of the used parts of the buffer.
docstring_summary: Gets rid of the used parts of the buffer.
docstring_tokens: Gets rid of the used parts of the buffer .
function: def _consume(self):
          """ Gets rid of the used parts of the buffer. """
          self._stream_offset += self._buff_i - self._buf_checkpoint
          self._buf_checkpoint = self._buff_i
function_tokens: def _consume ( self ) : self . _stream_offset += self . _buff_i - self . _buf_checkpoint self . _buf_checkpoint = self . _buff_i