package dtc-pb

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type encoding =
  1. | Binary
  2. | Binary_VLS
  3. | Json
  4. | Json_compact
  5. | Protobuf
type meta = {
  1. version : int;
  2. encoding : encoding;
}
type t =
  1. | Request of meta
  2. | Response of meta
val read : string -> t option
val read_exn : string -> t
val write : Bytes.t -> t -> unit
val to_string : t -> string