Try to parse a version from a header such as Mime-Version.
Parses a MIME version string from the supplied text or byte buffer.
Text or bytes to parse.
Index into the buffer to start parsing.
Optional
Number of bytes or characters to parse.
a Result; { ok: false } with a MimeError when the version cannot be parsed.
{ ok: false }
MimeError
Try to parse a version from a header such as Mime-Version.
Parses a MIME version string from the supplied text or byte buffer.