Module MrMime_mimeVersion

module MrMime_mimeVersion: sig .. end
Module MIME-Version

type version = int * int 
The version of the Internet message body format standard in use.
type field = [ `MimeVersion of version ] 
We define a new header field, "MIME-Version", which is to be used to declare the version of the Internet message body format standard in use.
val pp : Format.formatter -> version -> unit
pp version prints an human readable representation of version.
val default : version
Default value of version.
module Encoder: sig .. end
module Decoder: sig .. end
val of_string : ?chunk:int -> string -> version option
of_string ~chunk:1024 buf parses an RFC2045 MrMime_mimeVersion.version starting at 0 in buf.

This function allocates a internal buffer with chunk size (default to 1024).

val of_string_raw : ?chunk:int ->
string -> int -> int -> (version * int) option
of_string_raw ~chunk:1024 buff off len parses an RFC2045 MrMime_mimeVersion.version starting at off in buf to a tuple (version, count) with:

This function allocates a internal buffer with chunk size (default to 1024)