package netchannel

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

Innovation. Community. Security.