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
 Gets rid of the used parts of the buffer. 
product/gradle-plugin/src/main/python/pip/_vendor/msgpack/fallback.py