docs: def _flush(self, buffer):
          """
          Flush the write buffers of the stream if applicable.
  
          Args:
              buffer (memoryview): Buffer content.
          """
          with _handle_oss_error():
              self._bucket.put_object(key=self._key, data=buffer.tobytes())