mirage-flow-unix

Flow implementations and combinators for MirageOS on Unix
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library mirage-flow-unix

Parameters

module F : Mirage_flow.S

Signature

val ic : ?buffer_size:int -> ?close:bool -> F.flow -> Lwt_io.input_channel

Build an Lwt_io input channel from a mirage flow. If close is omitted, the mirage flow will be closed when the input channel is closed.

val oc : ?buffer_size:int -> ?close:bool -> F.flow -> Lwt_io.output_channel

Build an Lwt_io output channel from a mirage flow. If close is omitted, the mirage flow will not be closed when the output channel is closed.