Skip to main content

apply_fixes

Function apply_fixes 

Source
pub fn apply_fixes(source: &[u8], fixes: &[Fix]) -> Vec<u8> 
Expand description

Apply a set of fixes to source bytes. Returns the fixed source. Fixes are applied in reverse byte order to preserve offsets. Overlapping replacements are skipped.