Hi jalil, you can make use of d_binary class: d_binary (t_istream &in) const char * get_buf () const
Allmost the basic types (d_int, d_date, d_bool, ...) have a constructor for t_istream. But look at your code, in "in" variable you have the size of the stream (an int), not the actual stream! -- Mario jalil <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > hi everybody, > I just want to know if we can convert t_istream to const char * or to > char[] or to QbyteArray (QT sysntax). (I prefer to QbyteArray) > > here is my t_istream: > t_istream& in = db.get_property(stream->get_ref(), 0, 0, LIT_T, "Size"); > Thanks.
