ReadInt32() public method

public ReadInt32 ( EndianType endianType ) : Int32
endianType EndianType
return System.Int32
Esempio n. 1
0
        public override void Construct(BinaryEndianReader br, QbItemType type)
        {
            //System.Diagnostics.Debug.WriteLine(string.Format("{0} - 0x{1}", type.ToString(), (base.StreamPos(br) - 4).ToString("X").PadLeft(8, '0')));

            base.Construct(br, type);

            this.Values = new int[base.ItemCount];

            for (int i = 0; i < base.ItemCount; i++)
            {
                _values[i] = br.ReadInt32(base.Root.PakFormat.EndianType);
            }

            base.ConstructEnd(br);
        }