Am 17.11.2012 10:50, schrieb ArtemGr:
> Hi, Tommi!
>
> In cxxtools/base64codec.h the static encode and decode methods are protected.
> I think they should have been public,
> they are even docummented as such:
>          /** @brief shortcut for converting base64 encoded data to std::string
>
>              Example:
>              @code
>                std::string data = cxxtools::Base64Codec::decode(base64dataptr,
> base64datasize);
>              @endcode
>           */
>
Yes, you are right. I just copied the method from Utf8Codec and 
overlooked, that the codec methods in Utf8Codec are public while 
Base64Codec defines them protected. Maybe the methods should be 
protected in Utf8Codec also.

I will change that.

Tommi

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Tntnet-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tntnet-general

Reply via email to