ID EN
IO

readinto1

Python 3.11

Read bytes into a pre-allocated, writable bytes-like object b, using at most one call to the underlying raw stream’s read() (or readinto()) method. Return the number of bytes read.

Syntax

PYTHON
readinto1(b, /)

See Also

bytes-like object read() readinto() BlockingIOError