obspy.core.util.misc.CaptureIO.truncate

CaptureIO.truncate()