def __flush_buffer(self):
        self.__flush_data(self._buffer.getvalue())
        self._buffer.close()
        self._buffer = StringIO()
Flush the buffer contents out to a chunk.
dataset/ETHPy150Open blynch/CloudMemeBackend/gridfs/grid_file.py/GridIn.__flush_buffer