pub fn map_generator(data: &[u8]) -> Result<MapGenerator>
Read a MapGenerator from the bytes of its resource.
MapGenerator