quoted_encode_step


Description:

public static size_t quoted_encode_step (uint8 inbuf, size_t inlen, uint8 outbuf, int state, uint32 save)

Quoted-printable encodes a block of text.

Performs an 'encode step', saves left-over state in state and save (initialise to -1 on first invocation).

Parameters:

inbuf

input buffer

inlen

input buffer length

outbuf

output buffer

state

holds the number of bits that are stored in save

save

leftover bits that have not yet been encoded

Returns:

the number of bytes encoded.




2022 vala-language.org