obspy.core.util.misc.CaptureIO.flush

CaptureIO.flush()

Flush write buffers, if applicable.

This is not implemented for read-only and non-blocking streams.