GString* g_string_insert_len ( GString* string, gssize pos, const gchar* val, gssize len )
len bytes of
len is positive,
val may contain embedded nuls and need
not be nul-terminated. It is the caller’s responsibility to
val has at least
len addressable bytes.
len is negative,
val must be nul-terminated and
is considered to request the entire string length.
pos is -1, bytes are inserted at the end of the string.
stringwhere insertion should happen, or -1 for at the end.
Bytes to insert.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Number of bytes of
valto insert, or -1 for all of
|The data is owned by the instance.|