Function vault::parse_replay [] [src]

pub fn parse_replay(path: &Path, config: Option<Config>) -> Result<Replay>

Parses a single replay (.rec) file.

If None is passed to config, the following default configuration is used:

strict = false
commands = true
command_bytes = false
clean_file = true

Examples

extern crate vault;

use std::path::Path;

let path = Path::new("/path/to/file");
let replay = vault::parse_replay(&path, None).unwrap();