Re: How to use GIOChannel to write binary data

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

 



> Because you don't need one. Binary data is merely a stream of 8-bit chars with no encoding.

In general, the type name "char" is mostly misleading and
counter-productive these days. People new to C should get used to just
thinking "byte" when they see "char", either by itself or as part of
some API name like "g_io_channel_write_chars". A "character" is a
completely different and much more complex thing than a "char".

--tml
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux