Example #1
0
        private void InitialiseCRCProvider()
        {
            var factory = new CRCFactory();

            _crcProvider            = factory.CreateProvider(_fieldConfig.CRCProvider);
            _crcProvider.Endianness = _fieldConfig.Endianness;
        }
 private void InitialiseCRCProvider()
 {
     if (_crcProvider == null)
     {
         var factory = new CRCFactory();
         _crcProvider = factory.CreateProvider(CRCProviderMode.CRC32);
     }
 }