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 Decompress(byte[] buffer)
        {
            using var dis = new DataReader(new GZipStream(new MemoryStream(buffer), CompressionMode.Decompress, false));
            return Read(dis);
        }
public static CompoundTag Decompress ( byte [ ] buffer ) { using var dis = new DataReader ( new GZipStream ( new MemoryStream ( buffer ) , CompressionMode . Decompress , false ) ) ; return Read ( dis ) ; }
Reads a GZIP compressed tag.
Reads a GZIP compressed tag .
buffer
byte[]