On Wed, Mar 18, 2009, Goblin_Queen wrote:

> 
> Thanks for your reply, I had thought of that too because my search lead me to
> such an answer. How can I convert a char* from big endian to little endian?
> I googled for conversion examples but I only found conversions for int. I
> know this is probably a stupid question, but I'm still learning C++.
> 

You have to write a small snippet to do it.

Just reverse the byte order. The first byte becomes last, second next to last
and so on.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to