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); }
protected override void Dispose(bool disposing) { if (_disposed) { return; } _disposed = true; if (disposing) { if (_fecMath != null) { try { _fecMath.Dispose(); } catch (Exception) { } _fecMath = null; } } }
protected override void Dispose(bool disposing) { if (_disposed) return; _disposed = true; if (disposing) { if (_fecMath != null) { try { _fecMath.Dispose(); } catch (Exception) { } _fecMath = null; } } }