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(Stream input, bool leaveOpen = true)
        {
            using var dis = new DataReader(new GZipStream(input, CompressionMode.Decompress, leaveOpen));
            return Read(dis);
        }
public static CompoundTag ReadCompressed ( Stream input , bool leaveOpen = true ) { using var dis = new DataReader ( new GZipStream ( input , CompressionMode . Decompress , leaveOpen ) ) ; return Read ( dis ) ; }
Reads a GZIP compressed tag.
Reads a GZIP compressed tag .
input
Stream
leaveOpen
bool