overwriteLen

fun overwriteLen(pos: <Error class: unknown class>, val: String, len: Long): String

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

Return

@string

Since

2.14

Parameters

pos

the position at which to start overwriting

val

the string that will overwrite the @string starting at @pos

len

the number of bytes to write from @val