amqp-client.lib
Protocol.Spec
type (_, _) spec =
| [] : ('a, 'a) spec
| :: : '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