AsmResolver.OutputStreamExtensions.Align C# (CSharp) 메소드

Align() 공개 정적인 메소드

Aligns the writer to a specified boundary.
public static Align ( this writer, int align ) : void
writer this The writer to align.
align int The boundary to use.
리턴 void
        public static void Align(this IBinaryStreamWriter writer, int align)
        {
            align--;
            writer.WriteZeroes((((int)writer.Position + align) & ~align) - (int)writer.Position);
        }