package ocaml-protoc

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val create : unit -> Protobuf.Encoder.t
val to_bytes : Protobuf.Encoder.t -> bytes
val key : (int * Protobuf.payload_kind) -> Protobuf.Encoder.t -> unit
val nested : (Protobuf.Encoder.t -> unit) -> Protobuf.Encoder.t -> unit
val map_entry : encode_key:('a -> Protobuf.Encoder.t -> 'b) -> encode_value:('c -> Protobuf.Encoder.t -> unit) -> (('d * Protobuf.payload_kind) * ('e * Protobuf.payload_kind)) -> Protobuf.Encoder.t -> unit
val empty_nested : Protobuf.Encoder.t -> unit
val int_as_varint : int -> Protobuf.Encoder.t -> unit
val int_as_zigzag : int -> Protobuf.Encoder.t -> unit
val int32_as_varint : int32 -> Protobuf.Encoder.t -> unit
val int32_as_zigzag : int32 -> Protobuf.Encoder.t -> unit
val int64_as_varint : int64 -> Protobuf.Encoder.t -> unit
val int64_as_zigzag : int64 -> Protobuf.Encoder.t -> unit
val int32_as_bits32 : int32 -> Protobuf.Encoder.t -> unit
val int64_as_bits64 : int64 -> Protobuf.Encoder.t -> unit
val bool : bool -> Protobuf.Encoder.t -> unit
val float_as_bits32 : float -> Protobuf.Encoder.t -> unit
val float_as_bits64 : float -> Protobuf.Encoder.t -> unit
val int_as_bits32 : int -> Protobuf.Encoder.t -> unit
val int_as_bits64 : int -> Protobuf.Encoder.t -> unit
val string : string -> Protobuf.Encoder.t -> unit
val bytes : bytes -> Protobuf.Encoder.t -> unit
val double_value_key : int * Protobuf.payload_kind
val wrapper_double_value : float option -> Protobuf.Encoder.t -> unit
val float_value_key : int * Protobuf.payload_kind
val wrapper_float_value : float option -> Protobuf.Encoder.t -> unit
val int64_value_key : int * Protobuf.payload_kind
val wrapper_int64_value : int64 option -> Protobuf.Encoder.t -> unit
val int32_value_key : int * Protobuf.payload_kind
val wrapper_int32_value : int32 option -> Protobuf.Encoder.t -> unit
val bool_value_key : int * Protobuf.payload_kind
val wrapper_bool_value : bool option -> Protobuf.Encoder.t -> unit
val string_value_key : int * Protobuf.payload_kind
val wrapper_string_value : string option -> Protobuf.Encoder.t -> unit
val bytes_value_key : int * Protobuf.payload_kind
val wrapper_bytes_value : bytes option -> Protobuf.Encoder.t -> unit