ICSharpCode.SharpZipLib.Zip.Compression.PendingBuffer.WriteInt C# (CSharp) 메소드

WriteInt() 공개 메소드

write an integer LSB first
public WriteInt ( int value ) : void
value int The value to write.
리턴 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));
        }