]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
istream-base64-encoder: Implemented proper stat function that returns the encoded...
authorStephan Bosch <stephan@dovecot.fi>
Sat, 6 Aug 2016 15:59:10 +0000 (17:59 +0200)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Mon, 8 Aug 2016 12:52:43 +0000 (15:52 +0300)
commitc48b3d9651ff2d667a234a8009460600ca85e840
tree7f1002346e240bbebc4da288b72f231b056cd978
parentf960799d4760bd959631b4c47fe92b4d19e4564e
istream-base64-encoder: Implemented proper stat function that returns the encoded size of the stream.

For Base64 encoding, the size of the encoded data can be determined from the input data size exactly.
src/lib/istream-base64-encoder.c
src/lib/test-istream-base64-encoder.c