parse

Function parse 

Source
pub fn parse(data: &Path) -> Result<GameData>
Expand description

Parse a .dat file containing information on a WolfRPG Editor game.

Returns miscellaneous data regarding the game. If you have already read the bytes, consider using parse_bytes.

ยงPanics

This function will panic if the given file does not represent a valid game data structure.