def METHOD_NAME(self, buffer: WriteableBuffer) -> Tuple[int, Tuple[str, int]]:
    """Reads some bytes from a remote address.
    Returns a tuple containing
    * the number of bytes received into the given buffer
    * a remote_address, which is a tuple of ip address and port number
    :param object buffer: buffer to read into"""
    ...