Click or drag to resize
MimeKit

MimeFilterBaseFlush Method

Filter the specified input, flushing all internally buffered data to the output.

Namespace: MimeKit.IO.Filters
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public byte[] Flush(
	byte[] input,
	int startIndex,
	int length,
	out int outputIndex,
	out int outputLength
)

Parameters

input  Byte
The input buffer.
startIndex  Int32
The starting index of the input buffer.
length  Int32
The number of bytes of the input to filter.
outputIndex  Int32
The starting index of the output in the returned buffer.
outputLength  Int32
The length of the output buffer.

Return Value

Byte
The filtered output.

Implements

IMimeFilterFlush(Byte, Int32, Int32, Int32, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptioninput is null.
ArgumentOutOfRangeExceptionstartIndex and length do not specify a valid range in the input byte array.
Remarks
Filters the specified input buffer starting at the given index, spanning across the specified number of bytes.
See Also