Performs an yEncode 'encode step' on a chunk of raw data of length inlen
pointed to by inbuf
and writes to
outbuf
.
state
should be initialized to YENCODE_STATE_INIT before
beginning making the first call to this function. Subsequent calls should reuse state
.
Along the same lines, pcrc
and crc
should be initialized to
YENCODE_CRC_INIT before using.
inbuf |
input buffer |
inlen |
input buffer length |
outbuf |
output buffer |
state |
yencode state |
pcrc |
part crc state |
crc |
crc state |
the number of bytes encoded. |