예제 #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
파일: OptionInfo.cs 프로젝트: nguyenbs/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);
            }
        }