示例#1
0
文件: OptionInfo.cs 项目: wl3780/as3c
        public void ReadExternal(BinaryReader input)
        {
            uint n = Primitives.ReadU30(input).Value;

            _optionDetail = new ArrayList(Capacity.Max(n));

            for (uint i = 0; i < n; ++i)
            {
                OptionDetail detail = new OptionDetail();
                detail.ReadExternal(input);

                _optionDetail.Add(detail);
            }
        }
示例#2
0
        public void ReadExternal(BinaryReader input)
        {
            uint n = Primitives.ReadU30(input).Value;

            _optionDetail = new ArrayList(Capacity.Max(n));

            for (uint i = 0; i < n; ++i)
            {
                OptionDetail detail = new OptionDetail();
                detail.ReadExternal(input);

                _optionDetail.Add(detail);
            }
        }