read_snapshot

Function read_snapshot 

Source
pub fn read_snapshot(dir: &Path) -> Result<(SnapshotManifest, Vec<u8>)>
Expand description

Read a snapshot from the given directory.

Returns the decoded manifest and the raw saved-state bytes. The caller is responsible for opening memory.bin separately.