pub fn replace_byte_range(
source: &str,
start: usize,
end: usize,
replacement: &str,
) -> StringExpand description
Replace bytes in [start..end) with replacement.
Panics if start > end or indices are out of bounds for the source.