Read bytes into buffer *b*, using at most one system call Returns an int representing the number of bytes read (0 for EOF). Raises BlockingIOError if the underlying raw stream has no data at the moment.
(self, b)
| 710 | return self._readinto(b, read1=False) |
| 711 | |
| 712 | def readinto1(self, b): |
| 713 | """Read bytes into buffer *b*, using at most one system call |
| 714 | |
| 715 | Returns an int representing the number of bytes read (0 for EOF). |
| 716 | |
| 717 | Raises BlockingIOError if the underlying raw stream has no |
| 718 | data at the moment. |
| 719 | """ |
| 720 | |
| 721 | return self._readinto(b, read1=True) |
| 722 | |
| 723 | def _readinto(self, b, read1): |
| 724 | if not isinstance(b, memoryview): |