package atdgen

  1. Overview
  2. Docs
type !'a reader = Bi_inbuf.t -> 'a
type !'a writer = Bi_outbuf.t -> 'a -> unit
val from_channel : ?len:int -> ?shrlen:int -> 'a reader -> in_channel -> 'a
val from_file : ?len:int -> ?shrlen:int -> 'a reader -> string -> 'a
val to_channel : ?len:int -> ?shrlen:int -> 'a writer -> out_channel -> 'a -> unit
val to_file : ?len:int -> ?shrlen:int -> 'a writer -> string -> 'a -> unit
OCaml

Innovation. Community. Security.