unsigned long *state))
termline *ldata, unsigned long *state))
static void readrle(struct buf *b, termline *ldata,		    void (*readliteral)(struct buf *b, termchar *c,					unsigned long *state)){    int n = 0;    unsigned long state = 0;    while (n < ldata->cols) {	int hdr = get(b);	if (hdr >= 0x80) {	    /* A run. */	    int pos = b->len, count = hdr + 2 - 0x80;	    while (count--) {		assert(n < ldata->cols);		b->len = pos;		readliteral(b, ldata->chars + n, &state);		n++;	    }	} else {	    /* Just a sequence of consecutive literals. */	    int count = hdr + 1;	    while (count--) {		assert(n < ldata->cols);		readliteral(b, ldata->chars + n, &state);		n++;	    }	}    }    assert(n == ldata->cols);}