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

WriteInt() public method

write an integer LSB first
public WriteInt ( int value ) : void
value int The value to write.
return void
        public void WriteInt(int value)
        {
            #if DebugDeflation
            if (DeflaterConstants.DEBUGGING && (start != 0) )
            {
                throw new SharpZipBaseException("Debug check: start != 0");
            }
            #endif
            buffer_[end++] = unchecked((byte)value);
            buffer_[end++] = unchecked((byte)(value >> 8));
            buffer_[end++] = unchecked((byte)(value >> 16));
            buffer_[end++] = unchecked((byte)(value >> 24));
        }