package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type (!'cap, !+'a) t = private ('cap, 'a) NM.StructStorage.t = {
  1. data : 'cap Slice.t;
  2. pointers : 'cap Slice.t;
}
val readonly : ('cap, 'a) t -> (Capnp__MessageSig.ro, 'a) t
val with_attachments : Capnp__MessageSig.attachments -> ('cap, 'a) t -> ('cap, 'a) t
val get_attachments : ('cap, 'a) t -> Capnp__MessageSig.attachments
val v : data:'cap Slice.t -> pointers:'cap Slice.t -> ('cap, 'a) t
val cast : ('cap, 'a) t -> ('cap, 'b) t
type !'a reader_t = (Capnp__MessageSig.ro, 'a) t option
type !'a builder_t = (Capnp__MessageSig.rw, 'a) t
val reader_of_builder : 'a builder_t -> 'a reader_t
val message_of_builder : 'a builder_t -> Capnp__MessageSig.rw Message.t
val cast_reader : 'a reader_t -> 'b reader_t
OCaml

Innovation. Community. Security.