io.BufferedIOBase.readinto1()

readinto1(b)

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.

A BlockingIOError is raised if the underlying raw stream is in non blocking-mode, and has no data available at the moment.

New in version 3.5.

doc_python
2016-10-07 17:35:13
Comments
Leave a Comment

Please login to continue.