예제 #1
0
파일: RIM.cs 프로젝트: ouyh18/LteTools
 public Inter_SystemInformationTransferType Decode(BitArrayInputStream input)
 {
     Inter_SystemInformationTransferType type = new Inter_SystemInformationTransferType();
     type.InitDefaults();
     input.readBit();
     if (input.readBits(1) != 0)
     {
         throw new Exception(GetType().Name + ":NoChoice had been choose");
     }
     type.rIMTransfer = RIMTransfer.PerDecoder.Instance.Decode(input);
     return type;
 }
예제 #2
0
            public Inter_SystemInformationTransferType Decode(BitArrayInputStream input)
            {
                Inter_SystemInformationTransferType type = new Inter_SystemInformationTransferType();

                type.InitDefaults();
                input.readBit();
                if (input.readBits(1) != 0)
                {
                    throw new Exception(GetType().Name + ":NoChoice had been choose");
                }
                type.rIMTransfer = RIMTransfer.PerDecoder.Instance.Decode(input);
                return(type);
            }