Function peppi::io::peppi::ser::write

source ·
pub fn write<W: Write>(
    w: W,
    game: Game,
    opts: Option<&Opts>
) -> Result<(), Box<dyn Error>>
Expand description

Writes a replay to w in Peppi (.slpp) format.

Returns an error if the game’s version is higher than MAX_SUPPORTED_VERSION.