Exemplo n.º 1
0
        public void Deserialize(Stream input)
        {
            if (input.ReadValueU32(false) != 0x626D6174)
            {
                throw new FormatException();
            }

            uint count = input.ReadValueU32();
            this.Unknown0.Clear();
            for (uint i = 0; i < count; i++)
            {
                var unknown0 = new Subtype1();
                unknown0.Deserialize(input);
                this.Unknown0.Add(unknown0);
            }
        }
Exemplo n.º 2
0
        public void Deserialize(Stream input)
        {
            if (input.ReadValueU32(false) != 0x626D6174)
            {
                throw new FormatException();
            }

            uint count = input.ReadValueU32();

            this.Unknown0.Clear();
            for (uint i = 0; i < count; i++)
            {
                var unknown0 = new Subtype1();
                unknown0.Deserialize(input);
                this.Unknown0.Add(unknown0);
            }
        }