• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • protocol-9p
  • Documentation
  • protocol_9p lib
  • Protocol_9p .Buffered9PReader .Make Module
package protocol-9p
  • protocol_9p
    • Protocol_9p
      • Buffered9PReader
        • Make
          • 1-Log
          • 2-FLOW
      • Client
        • Make
          • 1-Log
          • 2-FLOW
          • KV_RO
          • LowLevel
        • S
          • KV_RO
          • LowLevel
      • Error
      • Filesystem
        • S
      • Infix
      • Info
      • Request
        • Attach
        • Auth
        • Clunk
        • Create
        • Flush
        • Open
        • Read
        • Remove
        • Stat
        • Version
        • Walk
        • Write
        • Wstat
      • Response
        • Attach
        • Auth
        • Clunk
        • Create
        • Err
        • Flush
        • Open
        • Read
        • Remove
        • Stat
        • Version
        • Walk
        • Write
        • Wstat
      • S
        • LOG
        • SERIALISABLE
      • Server
        • Make
          • 1-Log
          • 2-FLOW
          • 3-Filesystem
      • Types
        • Arr
          • 1-T
        • Data
        • Fid
          • Map
          • Set
        • FileMode
        • Int16
        • Int32
        • Int64
        • Int8
        • OpenMode
        • Qid
        • Stat
        • Tag
          • Map
          • Set
        • Version
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct