Click or drag to resize
MimeKit

OpenPgpDetectionFilterFilter(Byte, Int32, Int32, Int32, Int32, Boolean) Method

Filter the specified input.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
protected override byte[] Filter(
	byte[] input,
	int startIndex,
	int length,
	out int outputIndex,
	out int outputLength,
	bool flush
)

Parameters

input  Byte
The input buffer.
startIndex  Int32
The starting index of the input buffer.
length  Int32
The length of the input buffer, starting at startIndex.
outputIndex  Int32
The output index.
outputLength  Int32
The output length.
flush  Boolean
If set to true, all internally buffered data should be flushed to the output buffer.

Return Value

Byte
The filtered output.
Remarks
Filters the specified input buffer starting at the given index, spanning across the specified number of bytes.
See Also