/gvas

GVAS file format parsing library for rust

Primary LanguageRustMIT LicenseMIT

gvas

This crate was written to parse UE4 gvas save files.

Usage

To use this crate add it as a dependency to your Cargo.toml

gvas = "0.2.2"

Examples

use std::{
    fs::File,
    io::{Cursor, Read},
    path::Path,
};

let mut file = File::open("save.sav").unwrap();
let mut data = Vec::new();
file.read_to_end(&mut data).unwrap();

let mut cursor = Cursor::new(data);
let gvas_file = GvasFile::read(&mut cursor);

println!("{:#?}", gvas_file);

For more examples look in the tests directory.