Method
GLibStringoverwrite_len
since: 2.14
Declaration [src]
GString*
g_string_overwrite_len (
GString* string,
gsize pos,
const gchar* val,
gssize len
)
Description [src]
Overwrites part of a string, lengthening it if necessary. This function will work with embedded nuls.
Available since: 2.14
Parameters
pos-
Type:
gsizeThe position at which to start overwriting.
val-
Type:
const gchar*The string that will overwrite the
stringstarting atpos.The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. len-
Type:
gssizeThe number of bytes to write from
val.
Return value
Type: GString
string.
| The returned data is owned by the instance. |