obspy.core.util.misc.CaptureIO.read

CaptureIO.read()

Read at most n characters from stream.

Read from underlying buffer until we have n characters or we hit EOF. If n is negative or omitted, read until EOF.