public void Read(BlamLib.IO.EndianReader s, IO.ITagStream ts) { bool upgrade = ts.Flags.Test(IO.ITagStreamFlags.Halo2OldFormat_Fieldset); GroupTag = s.ReadTagUInt(); if(!upgrade) { Index = s.ReadInt32(); Count = s.ReadInt32(); } else { Index = s.ReadInt16(); Count = s.ReadInt16(); } Size = s.ReadInt32(); ++Index; }