package protocell

  1. Overview
  2. Docs
A Protobuf plugin for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

protocell-1.0.0.tbz
sha256=8296a7b386ad3ceb5e815374e8e4aa608d618869988b6f89b354c46225582fa8
sha512=7e3c758ac59b3a52aa523e1939103e8b4ad6adf8801df0a4bb1f947650e6f626c83ae7c55f1d114bbb652114fd46e88a7ed4835079ba70eaeb137220aefc3189

doc/protocell.runtime/Runtime/Byte_input/index.html

Module Runtime.Byte_inputSource

Sourcetype t
Sourcetype error = [
  1. | `Not_enough_bytes
]
Sourceval create : Base.string -> t
Sourceval has_more_bytes : t -> Base.bool
Sourceval read_byte : t -> (Base.char, [> error ]) Base.Result.t
Sourceval read_bytes : t -> Base.int -> (Base.string, [> error ]) Base.Result.t
Sourceval read_while : t -> (Base.char -> Base.bool) -> Base.string
OCaml

Innovation. Community. Security.