pub fn apply_finish( file: &mut Vec<u8>, finish: MuxFinish, ) -> Result<(), PatchError>
use finish.apply_to(file); use finish.validate(emitted_bytes) before external writes
Apply a finish to an in-memory file: append the tail, then patch.
See MuxFinish::apply_to.
MuxFinish::apply_to