public DeltaFList_PUCCH Decode(BitArrayInputStream input) { DeltaFList_PUCCH t_pucch = new DeltaFList_PUCCH(); t_pucch.InitDefaults(); int nBits = 2; t_pucch.deltaF_PUCCH_Format1 = (deltaF_PUCCH_Format1_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format1b = (deltaF_PUCCH_Format1b_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format2 = (deltaF_PUCCH_Format2_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format2a = (deltaF_PUCCH_Format2a_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format2b = (deltaF_PUCCH_Format2b_Enum)input.ReadBits(nBits); return t_pucch; }
public DeltaFList_PUCCH Decode(BitArrayInputStream input) { DeltaFList_PUCCH t_pucch = new DeltaFList_PUCCH(); t_pucch.InitDefaults(); int nBits = 2; t_pucch.deltaF_PUCCH_Format1 = (deltaF_PUCCH_Format1_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format1b = (deltaF_PUCCH_Format1b_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format2 = (deltaF_PUCCH_Format2_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format2a = (deltaF_PUCCH_Format2a_Enum)input.ReadBits(nBits); nBits = 2; t_pucch.deltaF_PUCCH_Format2b = (deltaF_PUCCH_Format2b_Enum)input.ReadBits(nBits); return(t_pucch); }