MimeFilterBaseFlush Method

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

Definition

Namespace: MimeKit.IO.Filters
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
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)

Remarks

Filters the specified input buffer starting at the given index, spanning across the specified number of bytes.

Exceptions

ArgumentNullException input is .
ArgumentOutOfRangeException startIndex and length do not specify a valid range in the input byte array.

See Also