GString: Tweak documentation, add g_string_free_to_bytes()
The docs for GString should really mention GByteArray, and what makes it different. Drop the comparison to Java which is dated and actually inaccurate (because StringBuffer operates on Unicode). While we're here, add g_string_free_to_bytes(), which further complements the spread of GBytes-based API. For example, one can create a buffer using GString, then send it off via g_output_stream_write_bytes(). https://bugzilla.gnome.org/show_bug.cgi?id=677064
parent
d72116d8
Please register or sign in to comment