 | HeaderTryParse Method (Byte, Int32, Header) |
Try to parse the given input buffer into a new
Header instance.
Namespace:
MimeKit
Assembly:
MimeKit (in MimeKit.dll) Version: 3.0.0
Syntaxpublic static bool TryParse(
byte[] buffer,
int startIndex,
out Header header
)
Parameters
- buffer
- Type: SystemByte
The input buffer. - startIndex
- Type: SystemInt32
The starting index of the input buffer. - header
- Type: MimeKitHeader
The parsed header.
Return Value
Type:
Booleantrue, if the header was successfully parsed,
false otherwise.
Exceptions
Remarks
Parses a header from the supplied buffer starting at the specified index.
See Also