pub fn replace_pattern( haystack: &[u8], needle: &[u8], replacement: &[u8], ) -> Vec<u8> ⓘ
Replace all occurrences of a pattern in a byte slice.