obspy.core.util.misc.CaptureIO¶
-
class
CaptureIO
[source]¶ Bases:
_io.TextIOWrapper
Attributes
__dict__
__doc__
__module__
buffer
closed
encoding
Encoding of the text stream.
errors
The error setting of the decoder or encoder.
line_buffering
name
newlines
Line endings translated so far.
write_through
Public Methods
Flush and close the IO object.
Separate the underlying buffer from the TextIOBase and return it.
Returns underlying file descriptor if one exists.
Flush write buffers, if applicable.
Return whether this is an ‘interactive’ stream.
Read at most n characters from stream.
Return whether object was opened for reading.
Read until newline or EOF.
Return a list of lines from the stream.
Reconfigure the text stream with new parameters.
Change stream position.
Return whether object supports random access.
Return current stream position.
Truncate file to size bytes.
Return whether object was opened for writing.
Write string to stream.
Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
Special Methods
Default dir() implementation.
Default object formatter.
Initialize self.
This method is called when a class is subclassed.
Create and return a new object.
Helper for pickle.
Helper for pickle.
Size of object in memory, in bytes.
Abstract classes can override this to customize issubclass().