code: def readinto(self, b):
          
          if self.connected is None:
              return None
  
          # Extract requested amount of data from the read buffer.
          b[:] = self._get_input(size)
  
          if len(b):
              return len(b)
          else:
              return None
docs: ! @brief Read bytes into a mutable buffer.