On 9/9/06, Jason Smethers <[EMAIL PROTECTED]> wrote:

Is there any sort of static method for obtaining the encode and decode
size for data passed through HexEncoder, HexDecoder, Base64Encoder,
Base64Decoder, Base32Encoder, and Base32Decoder?
[...]
virtual unsigned int EncodeLength(unsigned int dataLength) const = 0;
virtual unsigned int DecodeLength(unsigned int dataLength) const = 0;

It would be better to implement them directly in classes BaseN_Encoder
and BaseN_Decoder, which should have all the necessary information.
--
                                                   Jens Peter Secher
_DD6A 05B0 174E BFB2 D4D9 B52E 0EE5 978A FE63 E8A1 jpsecher gmail com_
A. Because it breaks the logical sequence of discussion
Q. Why is top posting bad?

Reply via email to