Click or drag to resize
MimeKit

IMimeDecoderDecode(Byte*, Int32, Byte*) Method

Decode the specified input into the output buffer.

Namespace: MimeKit.Encodings
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
int Decode(
	byte* input,
	int length,
	byte* output
)

Parameters

input  Byte*
A pointer to the beginning of the input buffer.
length  Int32
The length of the input buffer.
output  Byte*
A pointer to the beginning of the output buffer.

Return Value

Int32
The number of bytes written to the output buffer.
Remarks

Decodes the specified input into the output buffer.

The output buffer should be large enough to hold all of the decoded input. For estimating the size needed for the output buffer, see EstimateOutputLength(Int32).

See Also