pub fn write<W: Write>(w: &mut W, game: &Game) -> Result<()>
Writes a replay to w in Slippi (.slp) format.
w
.slp
Returns an error if the game’s version is higher than MAX_SUPPORTED_VERSION.
MAX_SUPPORTED_VERSION