Staging: this is not the live site, pydocs.org.
Generic Operating System Services
Base class for raw binary I/O.
Members of RawIOBase
r
- read
- Read up to size bytes from the object and return them.
- readall
- Read until EOF, using multiple read() call.
- readinto
- Read bytes into a pre-allocated, writable bytes-like object b, and return the number of bytes read.
w
- write
- Write the given bytes-like object, b, to the underlying raw stream, and return the number of bytes written.