package netchannel

  1. Overview
  2. Docs
type error = {
  1. impossible : 'a. 'a;
}
type t = {
  1. gref : int32;
  2. offset : int;
  3. flags : Flags.t;
  4. id : int;
  5. size : int;
}
val write : t -> Cstruct.t -> unit
val read : Cstruct.t -> (t, string) Stdlib.result
val flags : t -> Flags.t
val size : t -> (int, error) Stdlib.result
OCaml

Innovation. Community. Security.