pub fn write_rim<W: Write>(
writer: &mut W,
rim: &Rim,
) -> Result<(), RimBinaryError>Expand description
Writes a RIM archive to a writer.
ยงErrors
RimBinaryError::ValueOverflow when the entry count, a key-table offset
or the running data offset will not fit the u32 the format gives it,
naming the field. An archive can therefore be valid in memory and too
large to write. RimBinaryError::Io when the writer fails, which can
leave a partial archive.