package protocol-9p

  1. Overview
  2. Docs

Parameters

module Log : sig ... end
module FLOW : Mirage_flow_lwt.S

Signature

type t

A buffered 9P message reader over a FLOW

val create : FLOW.flow -> t

Construct a buffered 9P message reader over a FLOW

val read : t -> (Cstruct.t, [ `Msg of string ]) Result.result Lwt.t

Return the unmarshalled body of the next message read from the flow, without the initial length field.

OCaml

Innovation. Community. Security.