package amqp-client

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