parse

Function parse 

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

Parse a .dat file containing information on the available tilesets.

Returns detailed information regarding each tileset available to the editor. If you already have read the bytes, consider using parse_bytes.

ยงPanics

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