obspy.core.util.misc.CaptureIO.write

CaptureIO.write()

Write string to stream. Returns the number of characters written (which is always equal to the length of the string).