7UKECREAT0R_MCCompiledSource/mc-compiled/NBT/NBTIntArray.cs
using System.IO;

namespace mc_compiled.NBT
{
    public class NBTIntArray : NBTNode
    {
        public int[] values;

        public NBTIntArray() => this.tagType = TAG.IntArray;

        public override void Write(BinaryWriter writer)
        {
            writer.Write(this.values.Length);
            foreach (var value in this.values)
                writer.Write(value);
        }
    }
}
