package capnp

  1. Overview
  2. Docs
type 'a t
val create : read:('a -> buf:Bytes.t -> pos:int -> len:int -> int) -> compression:Codecs.compression_t -> 'a -> 'a t
val dequeue_message : 'a t -> Message.rw Message.BytesMessage.Message.t option
val bytes_available : 'a t -> int
val read : 'a t -> int
val read_message : 'a t -> Message.rw Message.BytesMessage.Message.t option
OCaml

Innovation. Community. Security.