pub fn apply_all(
patches: &[MemoryPatch],
data: &[u8],
rel_key: &str,
) -> Result<Vec<u8>, PatchError>Expand description
Applies a whole list of patches in order, each operating on the
previous one’s output. rel_key is forwarded to each patch’s
MemoryPatch::apply – see there for what it’s used for.
§Errors
Returns a PatchError if any patch in the chain fails.