On Thu, Apr 03, 2003 at 11:22:14PM -0800, Jeffrey Walton wrote:
> I am looking for a Reset( ). What I have found is if I call MessageEnd( ) or
> MessageSeriesEnd( ), the message buffer seems to be flush. However, the Mod on the
> number of characters per line is not flushing. For example, suppose you have a create
> a default encoder. Further, you pump in a 70 character message. Then call
> MessageEnd( ) and MessageSeriesEnd( ). The next message will LF at 2 characters.

This is a bug. I'll get it fixed.

> In the end, I want to reset the message stream.

You can already do this, and you can use it to work around this bug. Call
Initialize() on the encoder object with the appropriate parameters, and it
will reinitialize the encoder. (See the Base64Encoder constructor to see
what the appropriate parameters are.)

Reply via email to