Store replay whole buffer at a time

This commit is contained in:
Sofia 2026-07-26 23:40:20 +03:00
parent 9747681d75
commit 212a10e16c

View File

@ -351,9 +351,7 @@ impl ReplayRecorder {
let mut buf = Vec::new(); let mut buf = Vec::new();
let cursor = Cursor::new(&mut buf); let cursor = Cursor::new(&mut buf);
ciborium::into_writer(&self.replay, cursor).ok(); ciborium::into_writer(&self.replay, cursor).ok();
for byte in buf { file.store_buffer(&PackedArray::from_iter(buf));
file.store_8(byte);
}
} }
} }