On Thu, Apr 5, 2018 at 10:54 AM,  <[email protected]> wrote:
> Are you saying that Base64 decoder knows precisely how many bytes of input
> to take from the chunk shoved into it by the pipelline, and I would not need
> to worry about how many bytes to pump at a time?

Correct. If all works as expected you get your decoded message when
the destructors run. There may be some data available sooner if you
run a while loop chunking data.

Sometimes you need to call MessageEnd() to tell the machinery to
process all data at this very moment so you can use it before the
destructors run. Otherwise the filter will wait for more data to
stream. See, for example,
https://www.cryptopp.com/wiki/Base64Decoder#Missing_Data .

Jeff

-- 
You received this message because you are subscribed to "Crypto++ Users". More 
information about Crypto++ and this group is available at 
http://www.cryptopp.com and 
http://groups.google.com/forum/#!forum/cryptopp-users.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to