/// <summary> Internally handles OverlappedBlockChanging and raises event. </summary> protected void OnOverlappedBlockChanging(byte[] nextChunkOverlap) { if (OverlappedBlockChanging != null) { OverlappedBlockChangingEventArgs e = new OverlappedBlockChangingEventArgs( m_stripeStreams[m_currentStream], m_stripeStreams[((m_currentStream + streamCount) - 1) % streamCount], (byte[])m_overlap.Clone(), nextChunkOverlap ); OverlappedBlockChanging(this, e); } }
/// <summary> Internally handles OverlappedBlockChanging and raises event. </summary> protected void OnOverlappedBlockChanging(byte[] nextChunkOverlap) { if (OverlappedBlockChanging != null) { OverlappedBlockChangingEventArgs e = new OverlappedBlockChangingEventArgs( m_stripeStreams[m_currentStream], m_stripeStreams[((m_currentStream + streamCount) - 1) % streamCount], (byte[])m_overlap.Clone(), nextChunkOverlap ); OverlappedBlockChanging(this, e); } }