public cgi_Info_Type Decode(BitArrayInputStream input) { cgi_Info_Type type = new cgi_Info_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 3); type.cellGlobalId = CellGlobalIdUTRA.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.locationAreaCode = input.ReadBitString(0x10); } if (stream.Read()) { type.routingAreaCode = input.ReadBitString(8); } if (stream.Read()) { type.plmn_IdentityList = new List <PLMN_Identity>(); int nBits = 3; int num3 = input.ReadBits(nBits) + 1; for (int i = 0; i < num3; i++) { PLMN_Identity item = PLMN_Identity.PerDecoder.Instance.Decode(input); type.plmn_IdentityList.Add(item); } } return(type); }
public cgi_Info_Type Decode(BitArrayInputStream input) { cgi_Info_Type type = new cgi_Info_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); type.cellGlobalId = CellGlobalIdGERAN.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.routingAreaCode = input.ReadBitString(8); } return(type); }
public cgi_Info_Type Decode(BitArrayInputStream input) { cgi_Info_Type type = new cgi_Info_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); type.cellGlobalId = CellGlobalIdGERAN.PerDecoder.Instance.Decode(input); if (stream.Read()) { type.routingAreaCode = input.readBitString(8); } return type; }
public cgi_Info_Type Decode(BitArrayInputStream input) { cgi_Info_Type type = new cgi_Info_Type(); type.InitDefaults(); BitMaskStream stream = new BitMaskStream(input, 1); type.cellGlobalId = CellGlobalIdEUTRA.PerDecoder.Instance.Decode(input); type.trackingAreaCode = input.readBitString(0x10); if (stream.Read()) { type.plmn_IdentityList = new List<PLMN_Identity>(); int nBits = 3; int num3 = input.readBits(nBits) + 1; for (int i = 0; i < num3; i++) { PLMN_Identity item = PLMN_Identity.PerDecoder.Instance.Decode(input); type.plmn_IdentityList.Add(item); } } return type; }