Read bytes into a pre-allocated, writable bytes-like object b, and return the number of bytes read. For example, b might be a bytearray.
io/RawIOBase.readinto
RawIOBase.readinto