_io._RawIOBase mirroring the arrangement of methods in
the CPython version.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final PyType | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static PyObject | _RawIOBase__new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
|
| pack-priv final PyObject | |
| pack-priv final synchronized PyObject | |
| pack-priv final synchronized PyLong | |
| pack-priv final PyLong | |
| private PyObject | Returns: a PyString holding the bytes read orPy.None (when a non-blocking source
is not ready with further data)number of bytes to read (if possible) n)Implementation of the read() method once the argument has been reduced to an int. |
| public PyObject | Returns: a PyString holding the bytes read orPy.None (when a non-blocking source
is not ready with further data)number of bytes to read (if possible) n)The read() method is implemented by calling readinto(); derived classes that want to support read() only need to implement readinto() as a primitive operation. |
| public PyObject | Returns: a PyString holding the bytes read orPy.None (when a non-blocking source
is not ready with further data)Read until end of file, using multiple |
| public PyObject | |
| public PyObject |
| doc | back to summary |
|---|---|
| pack-priv static final String doc | |
| read_doc | back to summary |
|---|---|
| public static final String read_doc | |
| readall_doc | back to summary |
|---|---|
| public static final String readall_doc | |
| readinto_doc | back to summary |
|---|---|
| public static final String readinto_doc | |
| TYPE | back to summary |
|---|---|
| public static final PyType TYPE | |
| write_doc | back to summary |
|---|---|
| public static final String write_doc | |
| PyRawIOBase | back to summary |
|---|---|
| public PyRawIOBase() | |
| PyRawIOBase | back to summary |
|---|---|
| public PyRawIOBase(PyType subtype) | |
| _RawIOBase__new__ | back to summary |
|---|---|
pack-priv static PyObject _RawIOBase__new__(PyNewWrapper new_, boolean init, PyType subtype, PyObject[] args, String[] keywords)
| |
| _RawIOBase_read | back to summary |
|---|---|
pack-priv final PyObject _RawIOBase_read(PyObject n)
| |
| _RawIOBase_readall | back to summary |
|---|---|
pack-priv final synchronized PyObject _RawIOBase_readall()
| |
| _RawIOBase_readinto | back to summary |
|---|---|
pack-priv final synchronized PyLong _RawIOBase_readinto(PyObject b)
| |
| _RawIOBase_write | back to summary |
|---|---|
pack-priv final PyLong _RawIOBase_write(PyObject b)
| |
| _read | back to summary |
|---|---|
| private PyObject _read(int n) Implementation of the read() method once the argument has been reduced to an int.
| |
| read | back to summary |
|---|---|
| public PyObject read(int n) The read() method is implemented by calling readinto(); derived classes that want to support read() only need to implement readinto() as a primitive operation. In general, readinto() can be more efficient than read().
| |
| readall | back to summary |
|---|---|
| public PyObject readall() Read until end of file, using multiple
| |
| readinto | back to summary |
|---|---|
| public PyObject readinto(PyObject b) Read up to | |
| write | back to summary |
|---|---|
| public PyObject write(PyObject b) Write the given bytes or bytearray object to the underlying raw stream and return the number of bytes written. | |