public CellReselectionParametersCDMA2000_r11 Decode(BitArrayInputStream input) { CellReselectionParametersCDMA2000_r11 _r = new CellReselectionParametersCDMA2000_r11(); _r.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); _r.bandClassList = new List <BandClassInfoCDMA2000>(); int nBits = 5; int num3 = input.readBits(nBits) + 1; for (int i = 0; i < num3; i++) { BandClassInfoCDMA2000 item = BandClassInfoCDMA2000.PerDecoder.Instance.Decode(input); _r.bandClassList.Add(item); } _r.neighCellList_r11 = new List <NeighCellCDMA2000_r11>(); nBits = 4; int num5 = input.readBits(nBits) + 1; for (int j = 0; j < num5; j++) { NeighCellCDMA2000_r11 _r2 = NeighCellCDMA2000_r11.PerDecoder.Instance.Decode(input); _r.neighCellList_r11.Add(_r2); } _r.t_ReselectionCDMA2000 = input.readBits(3); if (stream.Read()) { _r.t_ReselectionCDMA2000_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input); } return(_r); }
public CellReselectionParametersCDMA2000_r11 Decode(BitArrayInputStream input) { CellReselectionParametersCDMA2000_r11 _r = new CellReselectionParametersCDMA2000_r11(); _r.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); _r.bandClassList = new List<BandClassInfoCDMA2000>(); int nBits = 5; int num3 = input.readBits(nBits) + 1; for (int i = 0; i < num3; i++) { BandClassInfoCDMA2000 item = BandClassInfoCDMA2000.PerDecoder.Instance.Decode(input); _r.bandClassList.Add(item); } _r.neighCellList_r11 = new List<NeighCellCDMA2000_r11>(); nBits = 4; int num5 = input.readBits(nBits) + 1; for (int j = 0; j < num5; j++) { NeighCellCDMA2000_r11 _r2 = NeighCellCDMA2000_r11.PerDecoder.Instance.Decode(input); _r.neighCellList_r11.Add(_r2); } _r.t_ReselectionCDMA2000 = input.readBits(3); if (stream.Read()) { _r.t_ReselectionCDMA2000_SF = SpeedStateScaleFactors.PerDecoder.Instance.Decode(input); } return _r; }