Ejemplo n.º 1
0
 public PsnBinHandlerMappedLite(Func <Stream> dataStreamGetter)
 {
     _dataStreamGetter = dataStreamGetter;
     _extractor        = PsnPageExtractorFactory.Extractor;
     _cmdPartSearcher  = new PsnCommandPartSearcherAllDefinedValuesAndCrc();
     _areResourcesFree = true;
 }
        public CommandPartSearcherPsnConfigBasedFast(IPsnProtocolConfiguration psnProtocolConfiguration)
        {
            _cmdPartConfigs = psnProtocolConfiguration.CommandParts.ToList();
            _cmdPartsCount  = _cmdPartConfigs.Count;

            _commandPartSearcher = new PsnCommandPartSearcherAllDefinedValuesAndCrc();
        }