apso-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Apso-devel] Representing binary data in C++


From: Jeronimo Pellegrini
Subject: [Apso-devel] Representing binary data in C++
Date: Thu, 26 Oct 2006 10:06:23 -0000
User-agent: Mutt/1.5.13 (2006-08-11)

One thing I'm not happy with is the bdata class.
It was a quick hack to get a simple representation for binary
data (not ended by \0, not supposed to be treated like a string
and not ever "printable") in C++ (needed to store raw keys and
encrypted data).
I found that using std::string is possible but absolutely
error-prone.

I was wondering if there is a better way to handle this.

J.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]