ICSharpCode.SharpZipLib.Zip.Compression.PendingBuffer.WriteBlock C# (CSharp) Method

WriteBlock() public method

Write a block of data to buffer
public WriteBlock ( byte block, int offset, int length ) : void
block byte data to write
offset int offset of first byte to write
length int number of bytes to write
return void
        public void WriteBlock(byte[] block, int offset, int length)
        {
            #if DebugDeflation
            if (DeflaterConstants.DEBUGGING && (start != 0) )
            {
                throw new SharpZipBaseException("Debug check: start != 0");
            }
            #endif
            System.Array.Copy(block, offset, buffer_, end, length);
            end += length;
        }