Exemplo n.º 1
0
        public ReedSolomon8(int k, int n, int threadCount, BufferManager bufferManager)
        {
            _fecMath = new Math();
            _k = k;
            _n = n;
            _threadCount = threadCount;
            _bufferManager = bufferManager;

            _encMatrix = _fecMath.CreateEncodeMatrix(k, n);
        }
Exemplo n.º 2
0
        public ReedSolomon8(int k, int n, int threadCount, BufferManager bufferManager)
        {
            _fecMath       = new Math();
            _k             = k;
            _n             = n;
            _threadCount   = threadCount;
            _bufferManager = bufferManager;

            _encMatrix = _fecMath.CreateEncodeMatrix(k, n);
        }
Exemplo n.º 3
0
        protected override void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }
            _disposed = true;

            if (disposing)
            {
                if (_fecMath != null)
                {
                    try
                    {
                        _fecMath.Dispose();
                    }
                    catch (Exception)
                    {
                    }

                    _fecMath = null;
                }
            }
        }
Exemplo n.º 4
0
        protected override void Dispose(bool disposing)
        {
            if (_disposed) return;
            _disposed = true;

            if (disposing)
            {
                if (_fecMath != null)
                {
                    try
                    {
                        _fecMath.Dispose();
                    }
                    catch (Exception)
                    {

                    }

                    _fecMath = null;
                }
            }
        }