pub unsafe extern "C" fn svn_stringbuf_replace(
str_: *mut svn_stringbuf_t,
pos: apr_size_t,
old_count: apr_size_t,
bytes: *const c_char,
new_count: apr_size_t,
)
Expand description
Replace in @a str the substring which starts at @a pos and is @a old_count bytes long with a new substring @a bytes which is @a new_count bytes long.
This is faster but functionally equivalent to the following sequence: @code svn_stringbuf_remove(str, pos, old_count); svn_stringbuf_insert(str, pos, bytes, new_count); @endcode
@since New in 1.8.
@since Since 1.9, @a bytes can be NULL if @a new_count is zero.