there is a way to convert a binart file into ascii ?
Not if you know how the binary data is encoded (compressed, ints, longs,
order, byteorder, ...).
But if your question is "How to represent binary data as ASCII" (e.g.
for mail transfer) then yes, there are ways, Base64 encoding etc.
There's some Qt class lying around in the web somewhere called
QMdCodec.cpp (Copyright (C) 2000-2001 Dawit Alemayehu <adawit@xxxxxxx>)
offering this functionality:
"A wrapper class for the most commonly used encoding and
decoding algorithms. Currently there is support for encoding
and decoding input using base64, uu and the quoted-printable
"If what you need is to encode or decode binary data, then
it is highly recommended that you use the functions that take an input
and output QByteArray as arguments. These functions are specifically
tailored for encoding and decoding binary data."
Try googling for it (I guess it's part of the KDE project), or I can
send you my copy of it..
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/