package email_message

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Encoding : sig ... end

RFC 2045 MIME-encoded Bigstrings.

type t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t Base__Ppx_compare_lib.compare
include Ppx_hash_lib.Hashable.S with type t := t
val hash_fold_t : t Base__Ppx_hash_lib.hash_fold
val hash : t -> Base__Ppx_hash_lib.Std.Hash.hash_value
val of_string : encoding:Encoding.t -> string -> t
val of_bigstring_shared : encoding:Encoding.t -> Bigstring_shared.t -> t
val empty : t
val encoding : t -> Encoding.t
val encoded_contents : t -> Bigstring_shared.t
val encoded_contents_string : t -> string

These are the expensive operation.

val encode : encoding:Encoding.known -> Bigstring_shared.t -> t
val decode : t -> Bigstring_shared.t option

None if encoding is `Unknown.

module Stable : sig ... end
OCaml

Innovation. Community. Security.