ydecode_step
Description:
public size_t ydecode_step (uint8[] @in, out uint8[] @out, out int state, out uint32 pcrc, out uint32 crc)
Performs a 'decode step' on a chunk of yEncoded data of length inlen pointed to by in and writes to out.
Assumes the =ybegin and =ypart lines have already been stripped off.
To get the crc32 value of the part, use CAMEL_MIME_YENCODE_CRC_FINAL (pcrc). If there are more parts, you should
reuse crc without re-initializing. Once all parts have been decoded, you may get the combined crc32 value of all the parts using
CAMEL_MIME_YENCODE_CRC_FINAL (crc).
Parameters:
| state |
ydecode state |
| pcrc |
part crc state |
| crc |
crc state |
| in |
input buffer |
| inlen |
input buffer length |
| out |
output buffer |
Returns:
|
the number of bytes decoded |
Namespace: Camel
Package: camel-1.2