Overwrites part of a string, lengthening it if necessary.
This function will work with embedded nuls.
this | |
pos |
the position at which to start overwriting |
val |
the string that will overwrite the this starting at |
len |
the number of bytes to write from |
this |