pub fn encode_simulation_vctower_binary(
sim: &Simulation,
app_version: &str,
saved_at_ms: f64,
) -> Result<Vec<u8>, String>Expand description
encode_simulation_vctower as a binary .vctower file
(TOWER_FILE_MAGIC_BINARY): the same stamped save and deflate bytes,
without the base64, so the file is a quarter smaller. A build from before
the binary file refuses it as a file from a newer version.