Module Upsycle_router.Util_encode_decode_io

include module type of Util_encode_decode_io
module U32 = Stdint.Uint32
module SD = Seaboar.Decode
module SE = Seaboar.Encode
module ULwt = Util_lwt

This module could move to a different project once it stabilises. For now it introduces a dependency on angstrom and angstrom-lwt-unix.

module Parse_stream : sig ... end
val parse_stream : 'a Angstrom.t -> Lwt_io.input_channel -> (('a -> bool Lwt.t) * (string -> [< `Fail | `Scrub of int ] Lwt.t)) -> unit Lwt.t
val encode_and_save : 'a SE.t -> Lwt_io.file_name -> 'a -> unit Lwt.t