AsmResolver.OutputStreamExtensions.WriteZeroes C# (CSharp) Method

WriteZeroes() public static method

Writes a specified amount of zero bytes to the stream.
public static WriteZeroes ( this writer, int count ) : void
writer this The writer to use.
count int The amount of zeroes to write.
return void
        public static void WriteZeroes(this IBinaryStreamWriter writer, int count)
        {
            writer.WriteBytes(new byte[count]);
        }