package ocaml-protoc-plugin

  1. Overview
  2. Docs
type t
val init : unit -> t

Create a new writer

val of_list : (int * Ocaml_protoc_plugin__.Field.t) list -> t

Construct a writer from a list of fields

val contents : t -> string

Get the protobuf encoded contents of the writer