pub fn deserialize_level_file<R: Read>(reader: R) -> Result<LevelData, nbt::Error> {
    match nbt::from_gzip_reader::<_, Root>(reader) {
        Ok(root) => Ok(root.data),
        Err(e) => Err(e),
    }
}
/// Deserializes a level.dat file from the given reader.
Deserializes a level.dat file from the given reader.
Deserializes a level . dat file from the given reader .
pub fn deserialize_level_file<R: Read>(reader: R) -> Result<LevelData, nbt::Error> {
    match nbt::from_gzip_reader::<_, Root>(reader) {
        Ok(root) => Ok(root.data),
        Err(e) => Err(e),
    }
}
pub fn deserialize_level_file < R : Read > ( reader : R ) -> Result < LevelData , nbt :: Error > { match nbt :: from_gzip_reader :: < _ , Root > ( reader ) { Ok ( root ) => Ok ( root . data ) , Err ( e ) => Err ( e ) , } }
Deserializes a level.dat file from the given reader.
Deserializes a level . dat file from the given reader .
reader
R
reader
R