Skip to main content

write_event_log

Function write_event_log 

Source
pub fn write_event_log<W>(log: &[Vec<AdviceMutation>], target: &mut W)
where W: ByteWriter,
Expand description

Serialize a recorded event log (one entry per on_event invocation) into target.

This raw encoding is not independently versioned. Use super::ReplaySnapshot for persistent storage with an explicit compatibility boundary.