obspy.core.util.base.NamedTemporaryFile.read1
- NamedTemporaryFile.read1()
Read and return up to n bytes, with at most one read() call to the underlying raw stream. A short result does not imply that EOF is imminent.
Returns an empty bytes object on EOF.