public CellGlobalIdCDMA2000 Decode(BitArrayInputStream input) { CellGlobalIdCDMA2000 dcdma = new CellGlobalIdCDMA2000(); dcdma.InitDefaults(); switch (input.readBits(1)) { case 0: dcdma.cellGlobalId1XRTT = input.readBitString(0x2f); return dcdma; case 1: dcdma.cellGlobalIdHRPD = input.readBitString(0x80); return dcdma; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public CellGlobalIdCDMA2000 Decode(BitArrayInputStream input) { CellGlobalIdCDMA2000 dcdma = new CellGlobalIdCDMA2000(); dcdma.InitDefaults(); switch (input.readBits(1)) { case 0: dcdma.cellGlobalId1XRTT = input.readBitString(0x2f); return(dcdma); case 1: dcdma.cellGlobalIdHRPD = input.readBitString(0x80); return(dcdma); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }