debug("uuencode: i == nbytes");
uuencode(unsigned char *bufin, unsigned int nbytes, char *bufcoded){	/* ENC is the basic 1 character encoding function to make a char printing */#define ENC(c) six2pr[c]	register char *outptr = bufcoded;	unsigned int i;	for (i = 0; i < nbytes; i += 3) {		*(outptr++) = ENC(*bufin >> 2);						/* c1 */		*(outptr++) = ENC(((*bufin << 4) & 060)   | ((bufin[1] >> 4) & 017));	/* c2 */		*(outptr++) = ENC(((bufin[1] << 2) & 074) | ((bufin[2] >> 6) & 03));	/* c3 */		*(outptr++) = ENC(bufin[2] & 077);					/* c4 */		bufin += 3;	}	if (i == nbytes + 1) {		outptr[-1] = '=';	} else if (i == nbytes + 2) {		outptr[-1] = '=';		outptr[-2] = '=';	} else if (i == nbytes) {		debug("uuencode: i == nbytes");		*(outptr++) = '=';	}	*outptr = '\0';	return (outptr - bufcoded);}