Opam Package mirage-channel.4.0.1

Package info

opam-namemirage-channel
opam-version4.0.1
synopsisBuffered channels for MirageOS FLOW types
description Channels are buffered reader/writers built on top of unbuffered `FLOW` implementations. Example: ```ocaml module Channel = Channel.Make(Flow) ... Channel.read_exactly ~len:16 t >>= fun bufs -> (* read header of message *) let payload_length = Cstruct.(LE.get_uint16 (concat bufs) 0) in Channel.read_exactly ~len:payload_length t >>= fun bufs -> (* payload of message *) (* process message *) Channel.write_buffer t header; Channel.write_buffer t payload; Channel.flush t >>= fun () -> ``` mirage-channel is distributed under the ISC license.
authors
  • Anil Madhavapeddy
  • Mindy Preston
  • Thomas Gazagnaire
homepagehttps://github.com/mirage/mirage-channel
licenseISC
changes-fileCHANGES.md
license-fileLICENSE.md
readme-fileREADME.md
deps (8)
revdeps (2)
metas (1)
libraries (1)

Package modules

Package sources

mirage-channel

Package files

lib/mirage-channel/opam
lib/mirage-channel/mirage_channel_lwt.ml
lib/mirage-channel/mirage_channel_lwt.cmx
lib/mirage-channel/mirage_channel_lwt.cmt
lib/mirage-channel/mirage_channel_lwt.cmi
lib/mirage-channel/mirage_channel.mli
lib/mirage-channel/mirage_channel.ml
lib/mirage-channel/mirage_channel.cmxs
lib/mirage-channel/mirage_channel.cmxa
lib/mirage-channel/mirage_channel.cmx
lib/mirage-channel/mirage_channel.cmti
lib/mirage-channel/mirage_channel.cmt
lib/mirage-channel/mirage_channel.cmi
lib/mirage-channel/mirage_channel.cma
lib/mirage-channel/mirage_channel.a
lib/mirage-channel/dune-package
lib/mirage-channel/META
lib/mirage-channel
doc/mirage-channel/README.md
doc/mirage-channel/LICENSE.md
doc/mirage-channel/CHANGES.md
doc/mirage-channel