Skip to content

Add a g_ref_string_new_len() to allow creating from non-NUL byte arrays

Richard Hughes requested to merge wip/hughsie/g_ref_string_new_len into master

A lot of GLib APIs provide a string length and explicitly say that the strings are not NUL terminated. For instance, parsing XML using GMarkupParser or reading packed binary strings from mmapped data files.

Merge request reports

Loading