public codebookSubsetRestriction_v920_Type Decode(BitArrayInputStream input) { codebookSubsetRestriction_v920_Type type = new codebookSubsetRestriction_v920_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.n2TxAntenna_tm8_r9 = input.readBitString(6); return(type); case 1: type.n4TxAntenna_tm8_r9 = input.readBitString(0x20); return(type); } throw new Exception(GetType().Name + ":NoChoice had been choose"); }
public codebookSubsetRestriction_v920_Type Decode(BitArrayInputStream input) { codebookSubsetRestriction_v920_Type type = new codebookSubsetRestriction_v920_Type(); type.InitDefaults(); switch (input.readBits(1)) { case 0: type.n2TxAntenna_tm8_r9 = input.readBitString(6); return type; case 1: type.n4TxAntenna_tm8_r9 = input.readBitString(0x20); return type; } throw new Exception(GetType().Name + ":NoChoice had been choose"); }