src/slz.c
/* copies at most <len> litterals from <buf>, returns the amount of data
 * copied. <more> indicates that there are data past buf + <len>. It must not
 * be called with len <= 0.
 */
copies at most  litterals from , returns the amount of data
copied.  indicates that there are data past buf + . It must not
be called with len <= 0.
copies at most litterals from returns the amount of data copied . indicates that there are data past buf + . It must not be called with len < = 0 .
static unsigned int copy_lit(struct slz_stream *strm, const void *buf, int len, int more)
{
	if (len > 65535) {
		len = 65535;
		more = 1;
	}
	if (strm->state != SLZ_ST_EOB)
		send_eob(strm);
	strm->state = more ? SLZ_ST_EOB : SLZ_ST_DONE;
	enqueue8(strm, !more, 3); 
	flush_bits(strm);
	copy_16b(strm, len);  
	copy_16b(strm, ~len); 
	memcpy(strm->outbuf, buf, len);
	strm->outbuf += len;
	return len;
}
static unsigned int copy_lit ( struct slz_stream * strm , const void * buf , int len , int more ) { if ( len > 65535 ) { len = 65535 ; more = 1 ; } if ( strm -> state != SLZ_ST_EOB ) send_eob ( strm ) ; strm -> state = more ? SLZ_ST_EOB : SLZ_ST_DONE ; enqueue8 ( strm , ! more , 3 ) ; flush_bits ( strm ) ; copy_16b ( strm , len ) ; copy_16b ( strm , ~ len ) ; memcpy ( strm -> outbuf , buf , len ) ; strm -> outbuf += len ; return len ; }
copies at most <len> litterals from <buf>, returns the amount of data
 copied.
copies at most <len > litterals from <buf > returns the amount of data copied .
// BFINAL = !more ; BTYPE = 00 // len // nlen