Exemple #1
0
 public preambleInfo_Type Decode(BitArrayInputStream input)
 {
     preambleInfo_Type type = new preambleInfo_Type();
     type.InitDefaults();
     BitMaskStream stream = new BitMaskStream(input, 1);
     const int nBits = 4;
     type.numberOfRA_Preambles = (numberOfRA_Preambles_Enum)input.ReadBits(nBits);
     if (stream.Read())
     {
         type.preamblesGroupAConfig = preamblesGroupAConfig_Type.PerDecoder.Instance.Decode(input);
     }
     return type;
 }
Exemple #2
0
                public preambleInfo_Type Decode(BitArrayInputStream input)
                {
                    preambleInfo_Type type = new preambleInfo_Type();

                    type.InitDefaults();
                    BitMaskStream stream = new BitMaskStream(input, 1);
                    const int     nBits  = 4;

                    type.numberOfRA_Preambles = (numberOfRA_Preambles_Enum)input.ReadBits(nBits);
                    if (stream.Read())
                    {
                        type.preamblesGroupAConfig = preamblesGroupAConfig_Type.PerDecoder.Instance.Decode(input);
                    }
                    return(type);
                }