Module Dtc_pb.Encoding

type encoding =
| Binary
| Binary_VLS
| Json
| Json_compact
| Protobuf
type meta = {
version : int;
encoding : encoding;
}
type t =
| Request of meta
| Response of meta
val read : string -> t option
val read_exn : string -> t
val write : Stdlib.Bytes.t -> t -> unit
val to_string : t -> string