def flush(self):
        data = self._wbuf.getvalue()
        if data:
            self._write(data)
        self._len = 0
        self._wbuf = StringIO()
Flush all data from the buffer.
dataset/ETHPy150Open natestedman/Observatory/observatory/lib/dulwich/protocol.py/BufferedPktLineWriter.flush