String.overwriteLen

glib.string_.String overwriteLen(size_t pos, string val, ptrdiff_t len)

Overwrites part of a string, lengthening it if necessary. This function will work with embedded nuls.

Parameters

posthe position at which to start overwriting
valthe string that will overwrite the string starting at pos
lenthe number of bytes to write from val

Returns

string