Hi.
inspecting cvs/gnome-vfs/http-method.c, I did face two diff types of storage;
GString and GByteArray.
http-method.c seems to use each for different purpose.
but I cannot understand what they're different to each other.
binary data of like \0 couldn't be that diff;
GString now supports embedded nuls ('\0'), so can be used with binary data.
from http://developer.gnome.org/dotplan/porting/ar01s19.html
both struct aer similar.
GString:
struct _GString
{
gchar *str;
gsize len;
gsize allocated_len;
};
and
GByteArray:
struct _GByteArray
{
guint8 *data;
guint len;
};
someone distinguise them?
thx
kz
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list