package capnp

  1. Overview
  2. Docs
type 'a t
val create : write:('a -> buf:string -> pos:int -> len:int -> int) -> compression:Codecs.compression_t -> 'a -> 'a t
val enqueue_message : 'a t -> 'cap Message.BytesMessage.Message.t -> unit
val bytes_remaining : 'a t -> int
val write : 'a t -> int
val write_message : 'a t -> 'cap Message.BytesMessage.Message.t -> unit
OCaml

Innovation. Community. Security.