module MrMime_mimeVersion:sig..end
typeversion =int * int
typefield =[ `MimeVersion of version ]
"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 -> unitpp version prints an human readable representation of version.val default : versionmodule Encoder:sig..end
module Decoder:sig..end
val of_string : ?chunk:int -> string -> version optionof_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) optionof_string_raw ~chunk:1024 buff off len parses an
RFC2045 MrMime_mimeVersion.version
starting at off in buf to a tuple (version, count) with:
version the MrMime_mimeVersion.versioncount the number of bytes read starting at off to parse the version.chunk size (default to
1024)