Beispiel #1
0
 public UL_AM_RLC Decode(BitArrayInputStream input)
 {
     UL_AM_RLC ul_am_rlc = new UL_AM_RLC();
     ul_am_rlc.InitDefaults();
     int nBits = 6;
     ul_am_rlc.t_PollRetransmit = (T_PollRetransmit)input.ReadBits(nBits);
     nBits = 3;
     ul_am_rlc.pollPDU = (PollPDU)input.ReadBits(nBits);
     nBits = 4;
     ul_am_rlc.pollByte = (PollByte)input.ReadBits(nBits);
     nBits = 3;
     ul_am_rlc.maxRetxThreshold = (maxRetxThreshold_Enum)input.ReadBits(nBits);
     return ul_am_rlc;
 }
Beispiel #2
0
            public UL_AM_RLC Decode(BitArrayInputStream input)
            {
                UL_AM_RLC ul_am_rlc = new UL_AM_RLC();

                ul_am_rlc.InitDefaults();
                int nBits = 6;

                ul_am_rlc.t_PollRetransmit = (T_PollRetransmit)input.ReadBits(nBits);
                nBits                      = 3;
                ul_am_rlc.pollPDU          = (PollPDU)input.ReadBits(nBits);
                nBits                      = 4;
                ul_am_rlc.pollByte         = (PollByte)input.ReadBits(nBits);
                nBits                      = 3;
                ul_am_rlc.maxRetxThreshold = (maxRetxThreshold_Enum)input.ReadBits(nBits);
                return(ul_am_rlc);
            }