pub fn rewrite_erf_to_vec<'a, R: Read + Seek>(
source: &ErfIndex<R>,
substitutions: impl IntoIterator<Item = (usize, &'a [u8])>,
) -> Result<Vec<u8>, ErfRewriteError>Expand description
Serializes a rewritten archive to bytes.
See rewrite_erf for the semantics.
ยงErrors
The same as rewrite_erf. The Vec target has no I/O to fail at, but
ErfRewriteError::Io still arrives from reading source.