src/AnvilPacker/Data/NBT.cs
/// <summary> Reads a GZIP compressed tag. </summary>
Reads a GZIP compressed tag.
Reads a GZIP compressed tag .
public static CompoundTag ReadCompressed(string filename)
        {
            using var dis = new DataReader(new GZipStream(File.OpenRead(filename), CompressionMode.Decompress, leaveOpen: false));
            return Read(dis);
        }
public static CompoundTag ReadCompressed ( string filename ) { using var dis = new DataReader ( new GZipStream ( File . OpenRead ( filename ) , CompressionMode . Decompress , leaveOpen : false ) ) ; return Read ( dis ) ; }
Reads a GZIP compressed tag.
Reads a GZIP compressed tag .
filename
string