parse_bytes

Function parse_bytes 

Source
pub fn parse_bytes(bytes: &[u8]) -> GameData
Expand description

Parse bytes containing information on a WolfRPG Editor game.

Returns miscellaneous data regarding the game. If you need to read the file to call this function, consider using parse.

ยงPanics

This function will panic if the given bytes do not represent a valid game data structure.