MimeParserOnMultipartEpilogueReadAsync Method

Called when multipart epilogue text is read from the stream.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
protected virtual Task OnMultipartEpilogueReadAsync(
	byte[] buffer,
	int startIndex,
	int count,
	CancellationToken cancellationToken
)

Parameters

buffer  Byte
A buffer containing the multipart epilogue text.
startIndex  Int32
The index denoting the starting position of the content within the buffer.
count  Int32
The length of the content within the buffer, in bytes.
cancellationToken  CancellationToken
The cancellation token.

Return Value

Task
An asynchronous task context.

Remarks

Called when multipart epilogue text is read from the stream.

The newline sequence that precedes a multipart boundary marker is considered to be part of the boundary marker and is not included in the content passed to this method.

See Also