package amqp-client

  1. Overview
  2. Docs
type (_, _) spec =
  1. | [] : ('a, 'a) spec
  2. | :: : 'a elem * ('b, 'c) spec -> ('a -> 'b, 'c) spec
val read : 'b 'c. ('b, 'c) spec -> 'b -> Io.Input.t -> 'c
val read_bits : 'b 'c. int -> ('b, 'c) spec -> 'b -> int -> Io.Input.t -> 'c
val write : 'b. ('b, Io.Output.t) spec -> Io.Output.t -> 'b
val write_bits : 'b. int -> ('b, Io.Output.t) spec -> int -> Io.Output.t -> 'b
val to_string : 'a 'b. ('a, 'b) spec -> string