yencode_step
Description:
public size_t yencode_step (uint8 inbuf, size_t inlen, uint8 outbuf, int state, uint32 pcrc, uint32 crc)
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.
Parameters:
| inbuf |
input buffer |
| inlen |
input buffer length |
| outbuf |
output buffer |
| state |
yencode state |
| pcrc |
part crc state |
| crc |
crc state |
Returns:
|
the number of bytes encoded. |
Namespace: GMime
Package: gmime-3.0