ReceivedTry Parse(Byte, Int 32, Int 32, Received) Method
Try to parse the given input buffer into a new Received instance.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
if the Received header value was successfully parsed; otherwise, .
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static bool TryParse(
byte[]? buffer,
int startIndex,
int length,
out Received?? received
)Parameters
- buffer Byte
- The input buffer.
- startIndex Int32
- The starting index of the input buffer.
- length Int32
- The number of bytes in the input buffer to parse.
- received Received
- The parsed Received header value.
Return Value
Booleanif the Received header value was successfully parsed; otherwise, .
Remarks
Parses a Received header value from the supplied buffer starting at the given index
and spanning across the specified number of bytes.