module Make (
C
:
Contents
)
: sig
.. end
type
contents = C.t
val bin_size_contents : C.t -> int
val bin_write_contents_ : Bin_prot.Unsafe_common.sptr ->
Bin_prot.Unsafe_common.eptr -> C.t -> Bin_prot.Unsafe_common.sptr
val bin_write_contents : Bin_prot.Common.buf ->
pos:Bin_prot.Common.pos -> contents -> Bin_prot.Common.pos
val bin_writer_contents : contents Bin_prot.Type_class.writer
val bin_read_contents__ : Bin_prot.Unsafe_common.sptr_ptr -> Bin_prot.Unsafe_common.eptr -> int -> C.t
val bin_read_contents_ : Bin_prot.Unsafe_common.sptr_ptr -> Bin_prot.Unsafe_common.eptr -> C.t
val bin_read_contents : Bin_prot.Common.buf ->
pos_ref:Bin_prot.Common.pos Pervasives.ref -> contents
val bin_reader_contents : contents Bin_prot.Type_class.reader
val bin_contents : contents Bin_prot.Type_class.t
val contents_of_sexp : Sexplib.Sexp.t -> contents
val sexp_of_contents : contents -> Sexplib.Sexp.t
type
t = {
}
val bin_size_t : t -> int
val bin_write_t_ : Bin_prot.Unsafe_common.sptr ->
Bin_prot.Unsafe_common.eptr -> t -> Bin_prot.Unsafe_common.sptr
val bin_write_t : Bin_prot.Common.buf ->
pos:Bin_prot.Common.pos -> t -> Bin_prot.Common.pos
val bin_writer_t : t Bin_prot.Type_class.writer
val bin_read_t__ : 'a -> 'b -> 'c -> 'd
val bin_read_t_ : Bin_prot.Unsafe_common.sptr_ptr ->
Bin_prot.Unsafe_common.eptr -> t
val bin_read_t : Bin_prot.Common.buf ->
pos_ref:Bin_prot.Common.pos Pervasives.ref -> t
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_t : t Bin_prot.Type_class.t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val create : size:contents -> init_level:contents -> t
val level : t -> contents
val take : t -> C.t -> [> `Taken | `Unable ]
val take_at_most : t -> C.t -> C.t
val fill : t -> C.t -> unit